Skip to content

Commit 8ff71ae

Browse files
author
Cedric Halbronn
committed
fix: missing call
1 parent 3b9d9a5 commit 8ff71ae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/cursorless-vscode/src/ide/vscode/VscodeTextEditorImpl.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ export class VscodeTextEditorImpl implements EditableTextEditor {
149149

150150
public async insertLineAfter(ranges?: Range[]): Promise<void> {
151151
if (ranges != null) {
152-
this.selections = ranges.map((range) => range.toSelection(false));
152+
this.setSelections(ranges.map((range) => range.toSelection(false)));
153153
}
154154
await this.focus();
155155
await vscode.commands.executeCommand("editor.action.insertLineAfter");

0 commit comments

Comments
 (0)