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 38f51fd commit 972a188Copy full SHA for 972a188
1 file changed
packages/cursorless-engine/src/actions/Clear.ts
@@ -29,12 +29,10 @@ export default class Clear implements SimpleAction {
29
const { thatTargets } = await this.actions.remove.run(plainTargets);
30
31
if (thatTargets != null) {
32
- await this.ide
33
- .getEditableTextEditor(editor)
34
- .setSelections(
35
- thatTargets.map(({ contentSelection }) => contentSelection),
36
- { focusEditor: true },
37
- );
+ await this.ide.getEditableTextEditor(editor).setSelections(
+ thatTargets.map(({ contentSelection }) => contentSelection),
+ { focusEditor: true },
+ );
38
}
39
40
return { thatTargets };
0 commit comments