We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5f87632 commit 153f5c6Copy full SHA for 153f5c6
src/vs/workbench/contrib/notebook/browser/notebookEditorWidget.ts
@@ -1143,6 +1143,8 @@ export class NotebookEditorWidget extends Disposable implements INotebookEditorD
1143
this.focusElement(cell);
1144
const selection = cellOptions.options?.selection;
1145
if (selection) {
1146
+ cell.updateEditState(CellEditState.Editing, 'setOptions');
1147
+ cell.focusMode = CellFocusMode.Editor;
1148
await this.revealLineInCenterIfOutsideViewportAsync(cell, selection.startLineNumber);
1149
} else if (options?.cellRevealType === CellRevealType.NearTopIfOutsideViewport) {
1150
await this.revealNearTopIfOutsideViewportAync(cell);
0 commit comments