Skip to content

Commit

Permalink
fix #119578.
Browse files Browse the repository at this point in the history
  • Loading branch information
rebornix committed Oct 26, 2021
1 parent 912ccea commit 154af5a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -395,7 +395,7 @@ export class StatefulMarkdownCell extends Disposable {
const primarySelection = editor.getSelection();

if (primarySelection) {
this.notebookEditor.revealLineInViewAsync(this.viewCell, primarySelection.positionLineNumber);
this.notebookEditor.revealRangeInViewAsync(this.viewCell, primarySelection);
}
}));

Expand Down

0 comments on commit 154af5a

Please sign in to comment.