NotebookEditor class

Represents a notebook editor that is attached to a {@link NotebookDocumentnotebook}. Additional properties of the NotebookEditor are available in the proposed API, which will be finalized later.

Available extensions
Annotations
  • @JS()
  • @staticInterop
  • @anonymous

Constructors

NotebookEditor({NotebookDocument? notebook, NotebookRange? selection, List<NotebookRange>? selections, List<NotebookRange>? visibleRanges, ViewColumn? viewColumn, void revealRange(NotebookRange, [NotebookEditorRevealType?])?})
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
notebook NotebookDocument

Available on NotebookEditor, provided by the NotebookEditor$Typings extension

The {@link NotebookDocumentnotebook document} associated with this notebook editor.
no setter
revealRange ↔ void Function(NotebookRange, [NotebookEditorRevealType?])

Available on NotebookEditor, provided by the NotebookEditor$Typings extension

getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
selection NotebookRange

Available on NotebookEditor, provided by the NotebookEditor$Typings extension

The primary selection in this notebook editor.
getter/setter pair
selections List<NotebookRange>

Available on NotebookEditor, provided by the NotebookEditor$Typings extension

All selections in this notebook editor.
getter/setter pair
viewColumn ViewColumn?

Available on NotebookEditor, provided by the NotebookEditor$Typings extension

The column in which this editor shows.
no setter
visibleRanges List<NotebookRange>

Available on NotebookEditor, provided by the NotebookEditor$Typings extension

The current visible ranges in the editor (vertically).
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