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 912ccea commit 154af5aCopy full SHA for 154af5a
src/vs/workbench/contrib/notebook/browser/view/renderers/markdownCell.ts
@@ -395,7 +395,7 @@ export class StatefulMarkdownCell extends Disposable {
395
const primarySelection = editor.getSelection();
396
397
if (primarySelection) {
398
- this.notebookEditor.revealLineInViewAsync(this.viewCell, primarySelection.positionLineNumber);
+ this.notebookEditor.revealRangeInViewAsync(this.viewCell, primarySelection);
399
}
400
}));
401
0 commit comments