Skip to content

Commit b5e2d2f

Browse files
authored
Fix long notebook cell jumping (#1222)
- Fixes #981 Just doesn't bother with notebook scrolling, as the regular `revealLine` on the cell's `TextEditor` seems to be good enough ## Checklist - [ ] I have added [tests](https://www.cursorless.org/docs/contributing/test-case-recorder/) - [ ] I have updated the [docs](https://github.com/cursorless-dev/cursorless/tree/main/docs) and [cheatsheet](https://github.com/cursorless-dev/cursorless/tree/main/cursorless-talon/src/cheatsheet) - [ ] I have not broken the cheatsheet
1 parent 501e784 commit b5e2d2f

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/ide/vscode/VscodeFocusEditor.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,6 @@ async function focusNotebookCell(editor: VscodeTextEditorImpl) {
9494
}),
9595
];
9696
desiredNotebookEditor.selections = desiredSelections;
97-
desiredNotebookEditor.revealRange(desiredSelections[0]);
9897

9998
// Issue a command to tell VSCode to focus the cell input editor
10099
// NB: We don't issue the command if it's already focused, because it turns

0 commit comments

Comments
 (0)