mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-25 19:18:59 +01:00
notebookeditor.selections
This commit is contained in:
@@ -692,7 +692,7 @@ export class MainThreadNotebooks extends Disposable implements MainThreadNoteboo
|
||||
if (notebookEditor.viewModel && options.selection && notebookEditor.viewModel.viewCells[options.selection.start]) {
|
||||
const focusedCell = notebookEditor.viewModel.viewCells[options.selection.start];
|
||||
notebookEditor.revealInCenterIfOutsideViewport(focusedCell);
|
||||
notebookEditor.selectElement(focusedCell);
|
||||
notebookEditor.focusElement(focusedCell);
|
||||
}
|
||||
return notebookEditor.getId();
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user