Name | Parameters | Return Type | Description |
AddAnnotation | Line as Integer | None | Adds an annotation to the right-hand gutter. |
theText as String |
AnnotationType as AnnotationTypes |
AddBreakpoint | Line as Integer | None | Adds a breakpoint. |
CenterSelection | None | None | Centers the currently selected text in the viewport. |
ClearAnnotations | None | None | Remove all annotations. |
ClearBreakpoints | None | None | Remove all breakpoints. |
ClearHistory | None | None | Flush Undo/Redo buffers. |
CommentBlockToggle | None | None | Toggle block commenting of the current selection. |
CommentToggle | None | None | Toggle single commenting of the current selection. |
Copy | None | None | Copies the currently selected text to the clipboard. |
Delete | None | None | Deletes the currently selected text from the content. |
DeselectAll | None | None | Deselect all text. |
Find | toFind as String | None | Search for toFind in the text. |
Backwards as Boolean = False |
Wrap as Boolean = False |
CaseSensitive as Boolean = False |
WholeWord as Boolean = False |
FindAll | toFind as String | None | Find all instances of toFind in the text. |
FindNext | None | None | Finds the next instance of the text. Requires there first be a Find call. |
FindPrev | None | None | Finds the previous instance of the text. Requires there first be a Find call. |
Fold | None | None | Folds the currently selected block. |
FoldAll | None | None | Folds all blocks in the document. |
GetFolds | None | Dictionary() | Returns all currently folded block coordinates. |
GetLine | Line as Integer as String | None | Get full line text. |
GotoLine | Line as Integer | None | Go to the specified line within the text. |
GotoPageDown | None | None | Go to line one page below current selection. |
GotoPageUp | None | None | Go to line one page above current selection. |
Indent | None | None | Indent the current line. |
InsertLines | newLines() as String | None | Insert lines at selection. |
InsertText | theText as String | None | Insert theText at current selection. |
IsBreakpoint | Row as Integer | Boolean | Determine if the specified row has a breakpoint assigned. |
IsRowFolded | Row as Integer | Boolean | Returns whether the specified row is within a currently folded code block. |
LoaderHide | None | None | Hides the loading spinner. |
LoaderShow | None | None | Shows a loading spinner that covers the entire component. |
MatchingExpandTo | None | None | Expands the current selection within matching blocks. |
MatchingJumpTo | None | None | Moves the cursor to the matching block element corresponding to the current selection. |
NavigateDown | byLines as Integer | None | Move the cursor down. |
NavigateEnd | None | None | Move the cursor to the end of the document. |
NavigateLeft | byCharacters as Integer | None | Move the cursor left by the specified number of characters. |
NavigateLineEnd | None | None | Move cursor to the end of the line. |
NavigateLineStart | None | None | Move cursor to the start of the line. |
NavigateRight | byCharacters as Integer | None | Move the cursor right by the specified number of characters. |
NavigateStart | None | None | Move the cursor to the start of the document. |
NavigateTo | Row as Integer | None | Move cursor to specified position. |
Column as Integer |
NavigateUp | byLines as Integer | None | Move the cursor up by the specified number of lines. |
NavigateWordLeft | None | None | Move cursor one word to the left. |
NavigateWordRight | None | None | Move cursor one word to the right. |
Outdent | None | None | Remove an indent from the current line. |
Paste | None | None | Pastes the clipboard text in to the content at the current cursor position. |
PrintDocument | Title as String | FolderItem | Creates a printable format file for the content, then launches the browser to automatically print. Returns a FolderItem in case you wish to retain a copy. |
Theme as Themes |
WordWrap as Boolean = True |
Redo | None | None | Redo an undone change. |
RemoveAnnotation | Line as Integer | None | Removes an annotation from the specified line. |
RemoveBreakpoint | Line as Integer | None | Removes a breakpoint from the specified line. |
Replace | replaceWith as String | None | Replaces instance with replaceWith. Requires Find or FindAll to be called first. |
ReplaceAll | replaceWith as String | None | Replaces all instances with replaceWith. Requires Find or FindAll to be called first. |
SelectAll | None | None | Select all text in the document. |
SelectDown | None | None | Selects down one line. |
SelectionDuplicate | None | None | Duplicates the currently selected text within the document. |
SelectionCopyLinesDown | None | None | Copies the currently selected content on to the following line. |
SelectionCopyLinesUp | None | None | Copies the currently selected content on to the preceding line. |
SelectionModifyNumber | Delta as Integer | None | Modifies the currently selected number adding Delta. |
SelectionMoveLinesDown | None | None | Moves the selected text down one line. |
SelectionMoveLinesUp | None | None | Moves the selected text up one line. |
SelectionSplitLine | None | None | Splits the current line at the cursor position. |
SelectionToLowercase | None | None | Converts the current selection to lowercase. |
SelectionToUppercase | None | None | Converts the current selection to uppercase. |
SelectionTranspose | None | None | Reverses the order of the currently selected lines. |
SelectionTransposeLetter | None | None | Reverses the order of the currently selected characters in the document. |
SelectLine | None | None | Select entire current line. |
SelectPageUp | None | None | Selects the previous page of content. |
SelectPageDown | None | None | Selects the next page of document. |
SelectToStart | None | None | Selects all content from the current cursor position to the beginning of the document. |
SelectToEnd | None | None | Selects all content from the current cursor position to the end of the document. |
SelectUp | None | None | Selects up one line. |
SelectWord | None | None | Select word that the cursor currently resides in. |
SelectWordLeft | None | None | Select word to the immediate left of the cursor. |
SelectWordRight | None | None | Select word to the immediate right of the cursor. |
ShowFind | None | None | Shows the built-in find panel. |
ShowReplace | None | None | Shows the built-in replace panel. |
ShowGotoLine | PromptText as String = “Enter line number: ” | None | Shows the built-in “Go to Line” panel. |
ShowSettingsMenu DEBUG ONLY | None | None | Show a panel containing current control settings. Changes here are not reflected in the control's properties. |
ShowShortcutsMenu | None | None | Shows a panel containing a list of the default keyboard shortcuts for the editor. |
Undo | None | None | Reverse a change. |
Unfold | None | None | Unfolds the currently selected block. |
UnfoldAll | None | None | Unfolds all folded blocks in the document. |