Skip to content

Commit

Permalink
fix: missing call
Browse files Browse the repository at this point in the history
  • Loading branch information
Cedric Halbronn committed Mar 19, 2024
1 parent 3b9d9a5 commit 8ff71ae
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ export class VscodeTextEditorImpl implements EditableTextEditor {

public async insertLineAfter(ranges?: Range[]): Promise<void> {
if (ranges != null) {
this.selections = ranges.map((range) => range.toSelection(false));
this.setSelections(ranges.map((range) => range.toSelection(false)));
}
await this.focus();
await vscode.commands.executeCommand("editor.action.insertLineAfter");
Expand Down

0 comments on commit 8ff71ae

Please sign in to comment.