AnnotationAdd( Row as Integer, theText as String, theType as String )
This method will add an annotation icon with informational tooltip to the left of the line numbers in the gutter of the Row specified.
AnnotationRemove( Row as Integer )
Remove any annotation on Row.
AnnotationRemoveAll()
Remove all annotations.
BreakpointAdd( Row as Integer )
Add a breakpoint to Row.
BreakpointRemove( Row as Integer )
Remove breakpoint from Row.
BreakpointRemoveAll( Row as Integer )
Remove all breakpoints from the current document.
DeselectAll()
Deselect all text in the current document.
Find( theText as String, intStartPosition as Integer = 0, blnBackward as Boolean = false, blnWrap as Boolean = False, blnCaseSensitive as Boolean = False, blnWholeWord as Boolean = False, blnRegEx as Boolean = False, blnSkipCurrentLine as Boolean = False )
This starts the Find system.
FindNext()
Finds the next searched for match in the document. Must follow a call to Find()
FindPrevious()
Finds the searched for match in the document by moving backward from the current position. Must follow a call to Find()
GotoLine( Row as Integer )
Automatically sets the cursor to the start of the line signified by Row.
Insert( theText as String )
Inserts theText in to the Syntax Editor at the cursor’s current position.
Redo()
Redo an undone change to the text.
Replace( replaceWith as String )
Replace a searched for match. Must follow a call to Find()
ReplaceAll( replaceWith as String )
Replace all matches for the previous search. Must follow a call to Find()
ReplaceAll( strFind as String, replaceWith as String )
Replace all instances of strFind with replaceWith.
ResetUndoStack()
Clears the Undo/Redo stack. Useful if you are saving the document and don’t want to allow reversing changes back beyond that point.
ScrollToLine( Row as Integer )
Scrolls Row in to the syntax editor view.
SelectAll()
Selects all text within the editor.
SelectionIndent()
Indents the current line.
SelectionOutdent()
Outdents the current line.
SelectionToggleComment()
Toggles comment on the current line.
SelectionToLowercase()
Convert all text in the current selection to lowercase.
SelectionToUppercase()
Convert all text in the current selection to uppercase.
The currently applied row annotations. Should not be modified directly.
AvailableModes()
String
Nil
The currently available syntax highlighting modes.
AvailableThemes()
String
Nil
The currently available display themes.
CanRedo Read-Only
Boolean
False
If the editor can Redo a recently undone change.
CanUndo Read-Only
Boolean
False
If the editor can undo a recent change.
CodeFolding
Boolean
True
If True and supported by the selected Mode, code blocks will be allowed to fold by clicking an arrow on the gutter.
CursorColumn Read-Only
Integer
0
The column of the document where the cursor currently resides.
CursorRow Read-Only
Integer
0
The row of the document where the cursor currently resides.
FirstVisibleRow Read-Only
Integer
0
The first line that is visible in the editor’s display.
FontSize
Integer
0
The size of font to use for the code in the editor.
HighlightActiveLine
Boolean
True
Places a colored highlight over the line where the cursor resides. This makes it easier for users to quickly find where they left off.
LastVisibleRow Read-Only
Integer
0
The last line that is visible in the editor’s display.
LineCount Read-Only
Integer
0
The number of lines in the current document.
Mode
Modes
Modes.ABAP
The syntax highlight mode to use.
ReadOnly
Boolean
False
If True, users will not be able to edit the contents of the field.
SelEnd
Integer
0
The end position of the current selection range.
SelStart
Integer
0
The start position of the current selection range.
SelText Read-Only
String
“”
The currently selected text in the editor.
ShowGutter
Boolen
True
Controls visibility of the left-hand editor gutter containing line numbers and collapsible section controllers.
ShowPrintMargin
Boolean
False
If True, a print margin line and color differentiation will be display along the left-side corresponding to the width of a 8.5×11 sheet.
SoftTabs
Boolean
True
Pass true to enable the use of soft tabs. Soft tabs means you’re using spaces instead of the tab character.
SyntaxChecker
Boolean
True
Pass true to enable basic syntax checking for supported languages. Note that while this is enabled, if there is an error in the code then annotations will be hidden in order to display only those errors which need to be resolved.
Text
String
“”
Get/Set the current text of the document, as a whole.
To provide the best experiences, we use technologies like cookies to store and/or access device information. Consenting to these technologies will allow us to process data such as browsing behavior or unique IDs on this site. Not consenting or withdrawing consent, may adversely affect certain features and functions.
Functional
Always active
The technical storage or access is strictly necessary for the legitimate purpose of enabling the use of a specific service explicitly requested by the subscriber or user, or for the sole purpose of carrying out the transmission of a communication over an electronic communications network.
Preferences
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
Statistics
The technical storage or access that is used exclusively for statistical purposes.The technical storage or access that is used exclusively for anonymous statistical purposes. Without a subpoena, voluntary compliance on the part of your Internet Service Provider, or additional records from a third party, information stored or retrieved for this purpose alone cannot usually be used to identify you.
Marketing
The technical storage or access is required to create user profiles to send advertising, or to track the user on a website or across several websites for similar marketing purposes.