mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-21 00:59:03 +01:00
on fire active notebook change event when something changed, https://github.com/microsoft/vscode/issues/118470
This commit is contained in:
@@ -776,7 +776,9 @@ export class ExtHostNotebookController implements ExtHostNotebookShape {
|
||||
} else if (delta.newActiveEditor) {
|
||||
this._activeNotebookEditor = this._editors.get(delta.newActiveEditor)?.editor;
|
||||
}
|
||||
this._onDidChangeActiveNotebookEditor.fire(this._activeNotebookEditor?.editor);
|
||||
if (delta.newActiveEditor !== undefined) {
|
||||
this._onDidChangeActiveNotebookEditor.fire(this._activeNotebookEditor?.editor);
|
||||
}
|
||||
}
|
||||
|
||||
createNotebookCellStatusBarItemInternal(cell: vscode.NotebookCell, alignment: extHostTypes.NotebookCellStatusBarAlignment | undefined, priority: number | undefined) {
|
||||
|
||||
Reference in New Issue
Block a user