NotebookEditorSelectionChangeEvent should contain selection ranges, not cells

This commit is contained in:
Johannes Rieken
2021-03-05 15:41:49 +01:00
parent 2e84eb9207
commit c024db9f41
2 changed files with 4 additions and 6 deletions

View File

@@ -596,10 +596,10 @@ export class ExtHostNotebookController implements ExtHostNotebookShape {
if (data.selections) {
editor.editor._acceptSelections(data.selections.selections);
this._onDidChangeNotebookEditorSelection.fire({
this._onDidChangeNotebookEditorSelection.fire(Object.freeze({
notebookEditor: editor.editor.editor,
selection: editor.editor.editor.selection
});
selections: editor.editor.editor.selections
}));
}
}