NotebookController$Typings extension

on

Properties

createNotebookCellExecution NotebookCellExecution Function(NotebookCell)
getter/setter pair
description String?
The human-readable description which is rendered less prominent.
getter/setter pair
detail String?
The human-readable detail which is rendered less prominent.
getter/setter pair
dispose ↔ void Function()
getter/setter pair
executeHandler FutureOr<void> Function(List<NotebookCell>, NotebookDocument, NotebookController)
The execute handler is invoked when the run gestures in the UI are selected, e.g Run Cell, Run All, Run Selection etc. The execute handler is responsible for creating and managing {@link NotebookCellExecution execution}-objects.
getter/setter pair
id String
The identifier of this notebook controller.
no setter
interruptHandler FutureOr<void> Function(NotebookDocument)?
Optional interrupt handler.
getter/setter pair
label String
The human-readable label of this notebook controller.
getter/setter pair
notebookType String
The notebook type this controller is for.
no setter
onDidChangeSelectedNotebooks Event
An event that fires whenever a controller has been selected or un-selected for a notebook document.
no setter
supportedLanguages List<String>?
An array of language identifiers that are supported by this controller. Any language identifier from {@linkcode languages.getLanguages getLanguages} is possible. When falsy all languages are supported.
getter/setter pair
supportsExecutionOrder bool?
Whether this controller supports execution order so that the editor can render placeholders for them.
getter/setter pair
updateNotebookAffinity ↔ void Function(NotebookDocument, NotebookControllerAffinity)
getter/setter pair