mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-16 18:46:40 -05:00
@@ -45,6 +45,7 @@ export class NotebookEditorModel extends EditorModel {
|
|||||||
if (notebook.id === this.notebookUri.toString()) {
|
if (notebook.id === this.notebookUri.toString()) {
|
||||||
// Hook to content change events
|
// Hook to content change events
|
||||||
notebook.modelReady.then(() => {
|
notebook.modelReady.then(() => {
|
||||||
|
this._register(notebook.model.kernelChanged(e => this.updateModel()));
|
||||||
this._register(notebook.model.contentChanged(e => this.updateModel()));
|
this._register(notebook.model.contentChanged(e => this.updateModel()));
|
||||||
}, err => undefined);
|
}, err => undefined);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user