(...args)
| 577 | } |
| 578 | |
| 579 | commandHandler(...args) { |
| 580 | this.movement.collapseSelectionToAnchor(); |
| 581 | super.commandHandler(...(args || [])); |
| 582 | if (this.modeIsActive) { |
| 583 | return this.movement.extendByOneCharacter(forward); |
| 584 | } |
| 585 | } |
| 586 | |
| 587 | // When visual mode starts and there's no existing selection, we launch CaretMode and try to |
| 588 | // establish a selection. As a heuristic, we pick the first non-whitespace character of the first |
no test coverage detected