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 318debc commit 984bb56Copy full SHA for 984bb56
src/extension.ts
@@ -140,8 +140,8 @@ export async function activate(context: ExtensionContext) {
140
(configPath, pos) => {
141
Workspace.openTextDocument(configPath).then((doc: TextDocument) => {
142
Window.showTextDocument(doc).then((editor: TextEditor) => {
143
- let start = new Position(pos[0], pos[1])
144
- let end = new Position(pos[2], pos[3])
+ let start = new Position(pos.start.line, pos.start.character)
+ let end = new Position(pos.end.line, pos.end.character)
145
editor.revealRange(
146
new Range(start, end),
147
TextEditorRevealType.InCenter
0 commit comments