TextEditor$Typings extension
- on
Properties
- document → TextDocument
-
Available on TextEditor, provided by the TextEditor$Typings extension
The document associated with this text editor. The document will be the same for the entire lifetime of this text editor.no setter - edit ↔ Future Function(void (TextEditorEdit), [dynamic])
-
Available on TextEditor, provided by the TextEditor$Typings extension
getter/setter pair - hide ↔ void Function()
-
Available on TextEditor, provided by the TextEditor$Typings extension
getter/setter pair - insertSnippet ↔ Future Function(SnippetString, [Object?, dynamic])
-
Available on TextEditor, provided by the TextEditor$Typings extension
getter/setter pair - options ↔ TextEditorOptions
-
Available on TextEditor, provided by the TextEditor$Typings extension
Text editor options.getter/setter pair - revealRange ↔ void Function(Range, [TextEditorRevealType?])
-
Available on TextEditor, provided by the TextEditor$Typings extension
getter/setter pair - selection ↔ Selection
-
Available on TextEditor, provided by the TextEditor$Typings extension
The primary selection on this text editor. Shorthand forTextEditor.selections[0]
.getter/setter pair -
selections
↔ List<
Selection> -
Available on TextEditor, provided by the TextEditor$Typings extension
The selections in this text editor. The primary selection is always at index 0.getter/setter pair - setDecorations ↔ void Function(TextEditorDecorationType, Object)
-
Available on TextEditor, provided by the TextEditor$Typings extension
getter/setter pair - show ↔ void Function([ViewColumn?])
-
Available on TextEditor, provided by the TextEditor$Typings extension
getter/setter pair - viewColumn → ViewColumn?
-
Available on TextEditor, provided by the TextEditor$Typings extension
The column in which this editor shows. Will beundefined
in case this isn't one of the main editors, e.g. an embedded editor, or when the editor column is larger than three.no setter -
visibleRanges
→ List<
Range> -
Available on TextEditor, provided by the TextEditor$Typings extension
The current visible ranges in the editor (vertically). This accounts only for vertical scrolling, and not for horizontal scrolling.no setter