Catrobat.IDE.Core.Formulas.Editor.FormulaEditor.EditorState.EditorState C# (CSharp) Method

EditorState() public method

public EditorState ( IEnumerable tokens, int caretIndex, int selectionLength ) : System
tokens IEnumerable
caretIndex int
selectionLength int
return System
            public EditorState(IEnumerable<IFormulaToken> tokens, int caretIndex, int selectionLength)
            {
                Tokens = tokens == null ? null : tokens.ToList();
                CaretIndex = caretIndex;
                SelectionLength = selectionLength;
            }
FormulaEditor.EditorState