Skip to content

Commit 9039431

Browse files
committed
selectXPathInDocument did not scroll to the selection - now fixed
1 parent 8da7029 commit 9039431

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/extension.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ export function activate(context: vscode.ExtensionContext) {
169169
const symbol = await getSymbolFromXPath(args, doc);
170170
if (symbol) {
171171
editor.selection = new vscode.Selection(symbol.range.start, symbol.range.end);
172-
XsltSymbolProvider.selectTextWithSymbol(symbol);
172+
editor.revealRange(symbol.range);
173173
}
174174
}
175175

0 commit comments

Comments
 (0)