(
position: Position,
vimState: VimState,
count: number,
)
| 1064 | movementType: CursorMovePosition = 'wrappedLineLastNonWhitespaceCharacter'; |
| 1065 | |
| 1066 | public override async execActionWithCount( |
| 1067 | position: Position, |
| 1068 | vimState: VimState, |
| 1069 | count: number, |
| 1070 | ): Promise<Position | IMovement> { |
| 1071 | count ||= 1; |
| 1072 | const pos = await super.execActionWithCount(position, vimState, count); |
| 1073 | |
| 1074 | // If in visual, return a selection |
| 1075 | if (pos instanceof Position) { |
| 1076 | return pos.getDown(count - 1); |
| 1077 | } else { |
| 1078 | return { start: pos.start, stop: pos.stop.getDown(count - 1).getLeftThroughLineBreaks() }; |
| 1079 | } |
| 1080 | } |
| 1081 | } |
| 1082 | |
| 1083 | @RegisterAction |
nothing calls this directly
no test coverage detected