mirror of
https://github.com/chylex/IntelliJ-IdeaVim.git
synced 2025-06-02 04:34:06 +02:00
Fix(VIM-3336): Improve the performance of n
in large files
The git history shows that the force update of the search highlights was accidentally enabled during the refactorings
This commit is contained in:
parent
c50a299cfd
commit
629e4e7053
@ -418,7 +418,7 @@ public abstract class VimSearchGroupBase : VimSearchGroup {
|
|||||||
dir: Direction,
|
dir: Direction,
|
||||||
): Int {
|
): Int {
|
||||||
resetSearchHighlight()
|
resetSearchHighlight()
|
||||||
updateSearchHighlights(true)
|
updateSearchHighlights(false)
|
||||||
|
|
||||||
val startOffset: Int = caret.offset.point
|
val startOffset: Int = caret.offset.point
|
||||||
var offset = findItOffset(editor, startOffset, count, dir)
|
var offset = findItOffset(editor, startOffset, count, dir)
|
||||||
|
Loading…
Reference in New Issue
Block a user