Implements

  • Saveable
  • Disposable

Constructors

Properties

_dirty: boolean = false
_selectedText: string = ''
cellModelFactory: NotebookCellModelFactory
dirtyCells: NotebookCellModel[] = []
fileService: FileService
modelResolverService: NotebookModelResolverService
nextHandle: number = 0
onContentChanged: Event<void> = ...
onContentChangedEmitter: Emitter<void> = ...
onDidAddOrRemoveCell: Event<NotebookModelWillAddRemoveEvent> = ...
onDidAddOrRemoveCellEmitter: Emitter<NotebookModelWillAddRemoveEvent> = ...
onDidChangeContent: Event<NotebookContentChangedEvent[]> = ...
onDidChangeContentEmitter: QueueableEmitter<NotebookContentChangedEvent> = ...
onDidChangeSelectedCell: Event<SelectedCellChangeEvent> = ...
onDidChangeSelectedCellEmitter: Emitter<SelectedCellChangeEvent> = ...
onDidDispose: Event<void> = ...
onDidDisposeEmitter: Emitter<void> = ...
onDidSaveNotebook: Event<void> = ...
onDidSaveNotebookEmitter: Emitter<void> = ...
onDirtyChanged: Event<void> = ...
onDirtyChangedEmitter: Emitter<void> = ...
selectedCell?: NotebookCellModel
undoRedoService: UndoRedoService

Accessors

Methods