githubEdit

TextEditor

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.

Class Methods

chevron-rightdelete(range: Range): TextEdithashtag

chevron-rightinsert(position: Position, newText: string): TextEdithashtag

chevron-rightreplace(range: Range, newText: string): TextEdithashtag

Constructor

new TextEdit(range: Range, newText: string: TextEdit)

Methods

Properties

chevron-rightdocument: TextDocumenthashtag

The document associated with the text editor.

chevron-rightoptions: TextEditorOptionshashtag

chevron-rightselections: Selection[]hashtag

Events

chevron-rightonDidSave(callback)hashtag

Last updated