1
0
mirror of https://github.com/chylex/IntelliJ-IdeaVim.git synced 2025-05-29 01:34:10 +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:
Alex Plate 2024-03-11 18:49:38 +02:00
parent c50a299cfd
commit 629e4e7053
No known key found for this signature in database
GPG Key ID: 0B97153C8FFEC09F

View File

@ -418,7 +418,7 @@ public abstract class VimSearchGroupBase : VimSearchGroup {
dir: Direction,
): Int {
resetSearchHighlight()
updateSearchHighlights(true)
updateSearchHighlights(false)
val startOffset: Int = caret.offset.point
var offset = findItOffset(editor, startOffset, count, dir)