mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-23 18:19:12 +01:00
NotebookEditor.selection
This commit is contained in:
@@ -33,6 +33,10 @@ export class MainThreadNotebookDocument extends Disposable {
|
||||
this._register(this._textModel.onDidModelChange(e => {
|
||||
this._proxy.$acceptModelChanged(this.uri, e);
|
||||
}));
|
||||
this._register(this._textModel.onDidSelectionChange(e => {
|
||||
const selectionsChange = e ? { selections: e } : null;
|
||||
this._proxy.$acceptEditorPropertiesChanged(uri, { selections: selectionsChange });
|
||||
}));
|
||||
}
|
||||
|
||||
applyEdit(modelVersionId: number, edits: ICellEditOperation[]): boolean {
|
||||
|
||||
Reference in New Issue
Block a user