([targets]: [TypedSelection[]])
| 21 | } |
| 22 | |
| 23 | async run([targets]: [TypedSelection[]]): Promise<ActionReturnValue> { |
| 24 | const editor = ensureSingleEditor(targets); |
| 25 | |
| 26 | await setSelectionsAndFocusEditor(editor, targets.map(this.getSelection)); |
| 27 | |
| 28 | return { |
| 29 | thatMark: targets.map((target) => target.selection), |
| 30 | }; |
| 31 | } |
| 32 | } |
| 33 | |
| 34 | export class SetSelectionBefore extends SetSelection { |
nothing calls this directly
no test coverage detected