mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-23 18:19:12 +01:00
send out missing selection change event when moving cells.
This commit is contained in:
@@ -35,6 +35,7 @@ export class MainThreadNotebookDocument extends Disposable {
|
||||
this._textModel = new NotebookTextModel(handle, viewType, uri);
|
||||
this._register(this._textModel.onDidModelChange(e => {
|
||||
this._proxy.$acceptModelChanged(this.uri, e);
|
||||
this._proxy.$acceptEditorPropertiesChanged(uri, { selections: { selections: this._textModel.selections }, metadata: null });
|
||||
}));
|
||||
this._register(this._textModel.onDidSelectionChange(e => {
|
||||
const selectionsChange = e ? { selections: e } : null;
|
||||
|
||||
Reference in New Issue
Block a user