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 5f75975 commit eb50740Copy full SHA for eb50740
src/util/setSelectionsAndFocusEditor.ts
@@ -79,11 +79,6 @@ async function focusNotebookCell(editor: TextEditor) {
79
]
80
);
81
82
- const activeTextEditor = window.activeTextEditor;
83
- if (activeTextEditor == null) {
84
- throw new Error("No active text editor");
85
- }
86
-
87
const desiredEditorIndex = getCellIndex(
88
desiredNotebookDocument,
89
editor.document
0 commit comments