NotebookEditor

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

Online Documentation

Properties

Link copied to clipboard
abstract external val notebook: NotebookDocument

The notebook document associated with this notebook editor.

Link copied to clipboard
abstract external var selection: NotebookRange

The primary selection in this notebook editor.

Link copied to clipboard
abstract external var selections: ReadonlyArray<NotebookRange>

All selections in this notebook editor.

Link copied to clipboard
abstract external val viewColumn: ViewColumn?

The column in which this editor shows.

Link copied to clipboard
abstract external val visibleRanges: ReadonlyArray<NotebookRange>

The current visible ranges in the editor (vertically).

Functions

Link copied to clipboard
abstract external fun revealRange(range: NotebookRange, revealType: NotebookEditorRevealType = definedExternally)

Scroll as indicated by revealType in order to reveal the given range.