This commit is contained in:
rebornix
2021-06-30 23:04:11 -07:00
parent 7d7ab1a144
commit 46b96bb29e

View File

@@ -191,8 +191,7 @@ export class MainThreadNotebookEditors implements MainThreadNotebookEditorsShape
$trySetSelections(id: string, ranges: ICellRange[]): void {
const editor = this._notebookEditorService.getNotebookEditor(id);
if (editor) {
// @rebornix how to set an editor selection?
// editor.setSelections(ranges)
editor.setSelections(ranges);
}
}
}