Represents a notebook editor that is attached to a {@link NotebookDocument notebook}. Additional properties of the NotebookEditor are available in the proposed API, which will be finalized later.
Represents a notebook editor that is attached to a {@link NotebookDocument notebook}. Additional properties of the NotebookEditor are available in the proposed API, which will be finalized later.
(notebook notebook-editor)
The {@link NotebookDocument notebook document} associated with this notebook editor.
The {@link NotebookDocument notebook document} associated with this notebook editor.
(reveal-range notebook-editor range)
(reveal-range notebook-editor range reveal-type)
Scroll as indicated by revealType
in order to reveal the given range.
Parameters:
range
: NotebookRange
- A range.reveal-type
: NotebookEditorRevealType | undefined
- The scrolling strategy for revealing range
.Returns: void
Scroll as indicated by `revealType` in order to reveal the given range. **Parameters:** - `range`: `NotebookRange` - A range. - `reveal-type`: `NotebookEditorRevealType | undefined` - The scrolling strategy for revealing `range`. **Returns:** `void`
(selection notebook-editor)
The primary selection in this notebook editor.
The primary selection in this notebook editor.
(selections notebook-editor)
All selections in this notebook editor.
The primary selection (or focused range) is selections[0]
. When the document has no cells, the primary selection is empty { start: 0, end: 0 }
;
All selections in this notebook editor. The primary selection (or focused range) is `selections[0]`. When the document has no cells, the primary selection is empty `{ start: 0, end: 0 }`;
(set-selection! notebook-editor value)
The primary selection in this notebook editor.
The primary selection in this notebook editor.
(set-selections! notebook-editor value)
All selections in this notebook editor.
The primary selection (or focused range) is selections[0]
. When the document has no cells, the primary selection is empty { start: 0, end: 0 }
;
All selections in this notebook editor. The primary selection (or focused range) is `selections[0]`. When the document has no cells, the primary selection is empty `{ start: 0, end: 0 }`;
(view-column notebook-editor)
The column in which this editor shows.
The column in which this editor shows.
(visible-ranges notebook-editor)
The current visible ranges in the editor (vertically).
The current visible ranges in the editor (vertically).
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close