NotebookHistory | @jupyterlab (original) (raw)
Implements
Index
Constructors
constructor
- new NotebookHistory(options: NotebookHistory.IOptions): NotebookHistory
NotebookHistory
Returns
Accessors
editor
- get editor(): null | CodeEditor.IEditor
CodeEditor.IEditor
Returns null |- set editor(value: null | CodeEditor.IEditor): void
Returns void
isDisposed
- get isDisposed(): boolean
Returns boolean
kernelSession
- get kernelSession(): string
Returns string
placeholder
- get placeholder(): string
Returns string
Methods
back
- back(activeCell: Cell<ICellModel>): Promise<undefined | string>
Promise<undefined | string>
Returns
A Promise resolving to the historical cell content text.
Protected
checkSession
- checkSession(activeCell: Cell<ICellModel>): Promise<void>
Promise<void>
Returns
dispose
- dispose(): void
Returns void
forward
- forward(activeCell: Cell<ICellModel>): Promise<undefined | string>
Promise<undefined | string>
Returns
A Promise resolving to the historical cell content text.
Protected
onHistory
- onHistory(value: IHistoryReplyMsg, cell?: Cell<ICellModel>): void
Returns void
Protected
onTextChange
- onTextChange(): void
Returns void
reset
- reset(): void
Returns void
Protected
setFilter
- setFilter(filterStr?: string): void
Parameters
- filterStr: string = ''
Returns void
updateEditor
- updateEditor(activeCell: Cell<ICellModel>, content: undefined | string): void
Returns void