mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-21 00:59:03 +01:00
NotebookEditorSelectionChangeEvent should contain selection ranges, not cells
This commit is contained in:
@@ -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
|
||||
}));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user