The document associated with this text editor. The document will be the same for the entire lifetime of this text editor.
The document associated with this text editor. The document will be the same for the entire lifetime of this text editor.
Text editor options.
The column in which this editor shows. Will be undefined
in case this
isn't one of the main editors, e.g. an embedded editor, or when the editor
column is larger than three.
The column in which this editor shows. Will be undefined
in case this
isn't one of the main editors, e.g. an embedded editor, or when the editor
column is larger than three.
The current visible ranges in the editor (vertically). This accounts only for vertical scrolling, and not for horizontal scrolling.
The current visible ranges in the editor (vertically). This accounts only for vertical scrolling, and not for horizontal scrolling.
eslint-disable-next-line max-len
eslint-disable-next-line max-len
Optional
location: Position | Range | Range[] | Position[]Scroll as indicated by revealType
in order to reveal the given range.
A range.
Optional
revealType: TextEditorRevealTypeThe scrolling strategy for revealing range
.
Adds a set of decorations to the text editor. If a set of decorations already exists with the given decoration type, they will be replaced.
A decoration type.
Shows this text editor. A column can be provided to control where the editor is being shown. Might change the active editor.
Optional
column: ViewColumnA view column in which this editor should be shown.
use window.showTextDocument instead.
Represents a text editor. To close editor use 'workbench.action.closeActiveEditor' command.