description |
---|
Represents a text editor window. |
A TextEditor object refers to an open text editor in CodeEdit. It should not be confused with a TextDocument object, which is a property of the TextEditor.
delete(range: Range): TextEdit
insert(position: Position, newText: string): TextEdit
replace(range: Range, newText: string): TextEdit
new TextEdit(range: Range, newText: string: TextEdit)
document: TextDocument
The document associated with the text editor.