mirror of
https://github.com/chylex/IntelliJ-IdeaVim.git
synced 2025-12-03 19:38:23 +01: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:
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user