NotebookDocumentShowOptions class
Represents options to configure the behavior of showing a {@link NotebookDocumentnotebook document} in an {@link NotebookEditornotebook editor}.
- Available extensions
- Annotations
-
- @JS()
- @staticInterop
- @anonymous
Constructors
-
NotebookDocumentShowOptions({ViewColumn? viewColumn, bool? preserveFocus, bool? preview, List<
NotebookRange> ? selections}) -
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- preserveFocus → bool?
-
Available on NotebookDocumentShowOptions, provided by the NotebookDocumentShowOptions$Typings extension
An optional flag that whentrue
will stop the {@link NotebookEditornotebook editor} from taking focus.no setter - preview → bool?
-
Available on NotebookDocumentShowOptions, provided by the NotebookDocumentShowOptions$Typings extension
An optional flag that controls if an {@link NotebookEditornotebook editor}-tab shows as preview. Preview tabs will be replaced and reused until set to stay - either explicitly or through editing. The default behaviour depends on theworkbench.editor.enablePreview
-setting.no setter - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
selections
→ List<
NotebookRange> ? -
Available on NotebookDocumentShowOptions, provided by the NotebookDocumentShowOptions$Typings extension
An optional selection to apply for the document in the {@link NotebookEditornotebook editor}.no setter - viewColumn → ViewColumn?
-
Available on NotebookDocumentShowOptions, provided by the NotebookDocumentShowOptions$Typings extension
An optional view column in which the {@link NotebookEditornotebook editor} should be shown. The default is the {@link ViewColumn.Activeactive}. 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.no setter
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