* @returns The start of the current match range (after applying the search offset) and its rank in the document's matches
(vimState: VimState)
| 432 | * @returns The start of the current match range (after applying the search offset) and its rank in the document's matches |
| 433 | */ |
| 434 | public getCurrentMatchPosition(vimState: VimState): IndexedPosition | undefined { |
| 435 | return this.searchState.getNextSearchMatchPosition( |
| 436 | vimState, |
| 437 | vimState.cursorStopPosition, |
| 438 | SearchDirection.Forward, |
| 439 | this.getCurrentMatchRelativeIndex(vimState), |
| 440 | ); |
| 441 | } |
| 442 | |
| 443 | /** |
| 444 | * @returns The current match range and its rank in the document's matches |
no test coverage detected