rename onDidChangeNotebookAssociation to onDidChangeSelectedNotebooks

This commit is contained in:
Johannes Rieken
2021-06-03 11:26:45 +02:00
parent 41f117753e
commit e43c3957f6
5 changed files with 16 additions and 15 deletions

View File

@@ -40,7 +40,7 @@ class Kernel {
this.controller.executeHandler = this._execute.bind(this);
this.controller.supportsExecutionOrder = true;
this.controller.supportedLanguages = ['typescript', 'javascript'];
this.controller.onDidChangeNotebookAssociation(e => {
this.controller.onDidChangeSelectedNotebooks(e => {
if (e.selected) {
this.associatedNotebooks.add(e.notebook.uri.toString());
} else {