TextDocumentShowOptions class
Represents options to configure the behavior of showing a {@link TextDocumentdocument} in an {@link TextEditoreditor}.
- Available extensions
- Annotations
-
- @JS()
- @staticInterop
- @anonymous
Constructors
- TextDocumentShowOptions({ViewColumn? viewColumn, bool? preserveFocus, bool? preview, Range? selection})
-
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- preserveFocus ↔ bool?
-
Available on TextDocumentShowOptions, provided by the TextDocumentShowOptions$Typings extension
An optional flag that whentrue
will stop the {@link TextEditor editor} from taking focus.getter/setter pair - preview ↔ bool?
-
Available on TextDocumentShowOptions, provided by the TextDocumentShowOptions$Typings extension
An optional flag that controls if an {@link TextEditor editor}-tab shows as preview. Preview tabs will be replaced and reused until set to stay - either explicitly or through editing.getter/setter pair - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- selection ↔ Range?
-
Available on TextDocumentShowOptions, provided by the TextDocumentShowOptions$Typings extension
An optional selection to apply for the document in the {@link TextEditor editor}.getter/setter pair - viewColumn ↔ ViewColumn?
-
Available on TextDocumentShowOptions, provided by the TextDocumentShowOptions$Typings extension
An optional view column in which the {@link TextEditor editor} should be shown. The default is the {@link ViewColumn.Active active}. Columns that do not exist will be created as needed up to the maximum of {@linkcode ViewColumn.Nine}. Use {@linkcode ViewColumn.Beside} to open the editor to the side of the currently active one.getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited