remove NotebookEditor#selection.

This commit is contained in:
rebornix
2021-04-12 14:33:45 -07:00
parent a546db679a
commit 9a00c870b9
3 changed files with 74 additions and 85 deletions

View File

@@ -115,10 +115,6 @@ export class ExtHostNotebookEditor {
get document() {
return that.notebookData.notebookDocument;
},
get selection() {
const primarySelection = that._selections[0];
return primarySelection && that.notebookData.getCellFromIndex(primarySelection.start)?.cell;
},
get selections() {
return that._selections;
},