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

The notebook document associated with this notebook editor.

Link copied to clipboard
abstract var selection: NotebookRange

The primary selection in this notebook editor.

Link copied to clipboard

All selections in this notebook editor.

Link copied to clipboard
abstract val viewColumn: ViewColumn?

The column in which this editor shows.

Link copied to clipboard

The current visible ranges in the editor (vertically).

Functions

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

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