* @returns the index of the current match, relative to the next match.
(vimState: VimState)
| 424 | * @returns the index of the current match, relative to the next match. |
| 425 | */ |
| 426 | private getCurrentMatchRelativeIndex(vimState: VimState): number { |
| 427 | const count = vimState.recordedState.count || 1; |
| 428 | return count - 1 + this.currentMatchDisplacement * count; |
| 429 | } |
| 430 | |
| 431 | /** |
| 432 | * @returns The start of the current match range (after applying the search offset) and its rank in the document's matches |
no outgoing calls
no test coverage detected