Enumerations

Name Values
AnnotationTypes Info = 0
Warning = 1
Error = 2
Themes Ambiance = 0
Chaos = 1
Chrome = 2
Clouds = 3
CloudsMidnight = 4
Cobalt = 5
CrimsonEditor = 6
Dawn = 7
Dreamweaver = 8
Eclipse = 9
GitHub = 10
IdleFingers = 11
iPlastic = 12
Katzenmilch = 13
KRTheme = 14
Kuroir = 15
Merbivore = 16
MerbivoreSoft = 17
MonoIndustrial = 18
Monokai = 19
PastelOnDark = 20
SolarizedDark = 21
SolarizedLight = 22
SQLServer = 23
Terminal = 24
TextMate = 25
Tomorrow = 26
TomorrowNight = 27
TomorrowNightBlue = 28
TomorrowNightBright = 29
TomorrowNightEighties = 30
Twilight = 31
VibrantInk = 32
XCode = 33
Modes ABAP = 0
ABC = 0
ActionScript = 1
ADA = 2
ApacheConf = 3
AppleScript = 4
ASCIIDoc = 5
AssemblyX86 = 6
AutoHotKey = 7
BatchFile = 8
Bro = 9
C_CPP = 10
C9Search = 11
Cirru = 12
Clojure = 13
Cobol = 14
CoffeeScript = 15
ColdFusion = 16
CSharp = 17
CSS = 18
Curly = 19
D = 20
Dart = 21
Diff = 22
Django = 23
DockerFile = 24
Dot = 25
Drools = 26
Eiffel = 27
EJS = 28
Elixir = 29
Elm = 30
ERLang = 31
Forth = 32
Fortran = 33
FTL = 34
GCode = 35
Gherkin = 36
GitIgnore = 37
GLSL = 38
Gobstones = 39
GOLang = 40
Groovy = 41
HAML = 42
Handlebars = 43
Haskell = 44
HaskellCabal = 45
Haxe = 46
HJSON = 47
HTML = 48
HTMLElixir = 49
HTMLRuby = 50
INI = 51
IO = 52
Jack = 53
Jade = 54
Java = 55
JavaScript = 56
JSON = 57
JSONIQ = 58
JSP = 59
JSX = 60
Julia = 61
Kotlin = 62
LaTeX = 63
Lean = 64
LESS = 65
Liquid = 66
LISP = 67
Live_Script = 68
LiveScript = 69
LogIQL = 70
LSL = 71
LUA = 72
LUAPage = 73
Lucene = 74
MakeFile = 75
Markdown = 76
Mask = 77
MatLab = 78
Maze = 79
Mel = 80
MIPS_Assembler = 81
MIPSAssembler = 82
MushCode = 83
MySQL = 84
Nix = 85
NSIS = 86
ObjectiveC = 87
OCAML = 88
Pascal = 89
Perl = 90
PGSQL = 91
PHP = 92
PlainText = 93
PowerShell = 94
Praat = 95
Prolog = 96
Properties = 97
Protobuf = 98
Python = 99
R = 100
Razor = 101
RDoc = 102
RHTML = 103
RST = 104
Ruby = 105
Rust = 106
SASS = 107
SCAD = 108
Scala = 109
Scheme = 110
SCSS = 111
SH = 112
SJS = 113
Smarty = 114
Snippets = 115
SoyTemplate = 116
Space = 117
SQL = 118
SQLServer = 119
Stylus = 120
SVG = 121
Swift = 122
Swig = 123
TCL = 124
Tex = 125
Text = 126
Textile = 127
TOML = 128
TSX = 129
Twig = 130
TypeScript = 131
Vala = 132
VBScript = 133
Velocity = 134
Verilog = 135
VHDL = 136
Wollok = 137
XML = 138
Xojo = 139
XQuery = 140
YAML = 141

Constants

Name Type Value
This class exposes no constants.

Events

Definition Description
BreakpointAdded( Row as Integer ) Breakpoint has been added by the user.
BreakpointRemoved( Row as Integer ) Breakpoint has been removed by the user.
Change() Text content has changed.
SelChange() Selected text has changed.

Methods

Definition Description
AddAnnotation( Line as Integer, theText as String, AnnotationType as AnnotationTypes ) Adds an annotation to the right-hand gutter.
AddBreakpoint( Line as Integer ) Adds a breakpoint.
ClearAnnotations() Remove all annotations.
ClearBreakpoints() Remove all breakpoints.
ClearHistory() Flush Undo/Redo buffers.
DeselectAll() Deselect all text.
Find( toFind as String, Backwards as Boolean = False, Wrap as Boolean = False, CaseSensitive as Boolean = False, WholeWord as Boolean = False ) Search for toFind in the text.
FindAll( toFind as String ) Find all instances of toFind in the text.
FindNext() Finds the next instance of the text. Requires there first be a Find call.
FindPrev() Finds the previous instance of the text. Requires there first be a Find call.
GetLine( Line as Integer ) as String Get full line text.
GotoLine( Line as Integer ) Go to the specified line within the text.
GotoPageDown() Go to line one page below current selection.
GotoPageUp() Go to line one page above current selection.
Indent() Indent the current line.
InsertLines( newLines() as String ) Insert lines at selection.
InsertText( theText as String ) Insert theText at current selection.
IsBreakpoint( Row as Integer ) as Boolean Determine if the specified row has a breakpoint assigned.
NavigateDown( byLines as Integer ) Move the cursor down.
NavigateEnd() Move the cursor to the end of the document.
NavigateLeft( byCharacters as Integer ) Move the cursor left by the specified number of characters.
NavigateLineEnd() Move cursor to the end of the line.
NavigateLineStart() Move cursor to the start of the line.
NavigateRight( byCharacters as Integer ) Move the cursor right by the specified number of characters.
NavigateStart() Move the cursor to the start of the document.
NavigateTo( Row as Integer, Column as Integer ) Move cursor to specified position.
NavigateUp( byLines as Integer ) Move the cursor up by the specified number of lines.
NavigateWordLeft() Move cursor one word to the left.
NavigateWordRight() Move cursor one word to the right.
Outdent() Remove an indent from the current line.
Redo() Redo an undone change.
RemoveAnnotation( Line as Integer ) Removes an annotation from the specified line.
RemoveBreakpoint( Line as Integer ) Removes a breakpoint from the specified line.
Replace( replaceWith as String ) Replaces instance with replaceWith. Requires Find or FindAll to be called first.
ReplaceAll( replaceWith as String ) Replaces all instances with replaceWith. Requires Find or FindAll to be called first.
SelectAll() Select all text in the document.
SelectLine() Select entire current line.
SelectWord() Select word that the cursor currently resides in.
SelectWordLeft() Select word to the immediate left of the cursor.
SelectWordRight() Select word to the immediate right of the cursor.
Undo() Reverse a change.

Properties

Name Type Default Value Description
CanRedo Boolean False If true, there are actions in the history which can be redone.
CanUndo Boolean False If true, there are actions in the history which can be undone.
Content String “” Full content of the control.
CurrentColumn Integer(ReadOnly) 0 Current column of the cursor within the document.
CurrentLine Integer(ReadOnly) 0 Current line of the cursor within the document.
Modes Modes Modes.ABAP Current syntax mode, or language, of the control.
SelLength Integer 0 Length of current selection.
SelStart Integer 0 Starting point of current selection.
SelText String “” Currently selected text.
TabSize Integer 4 Length, in characters, of an indent/outdent/tab.
Theme Themes Themes.Ambiance The visual style of the editor, including colors for syntax hightlighting.
WordWrap Boolean False When true long lines will wrap down the next line.

Examples

There are currently no examples for this class.