Skip to content

Commit

Permalink
fix focus
Browse files Browse the repository at this point in the history
  • Loading branch information
aronj committed Nov 13, 2022
1 parent 0efc800 commit 359ea22
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/space-block-text-jumper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ const jump = (direction: number, select = false) => {
getNewLine(currLine, direction, skipClosestEdge, jumpToBlockSeparator)
);

editor.revealRange(new vscode.Range(newLine, 0, newLine, 0));

if (direction === -1) {
if (select) {
const currPos = new vscode.Position(
Expand Down

0 comments on commit 359ea22

Please sign in to comment.