CodeEditor Object Properties

Applies to TestComplete 15.69, last modified on November 13, 2024

The CodeEditor object contains the following properties:

Property List

Name Description
CursorPos Gets or sets the insertion point position in the active Code Editor instance.
IsEditorActive Checks if there is an active Code Editor instance in the Workspace panel.
SelectedText Returns the text that is selected in the active Code Editor.
SelectionEnd Returns the position of the last character of the Code Editor’s current selection.
SelectionStart Returns the position of the first character of the Code Editor’s current selection.
Text Provides access to the entire contents of the active Code Editor instance.

See Also

CodeEditor Object

Highlight search results