Find All in Current Document is slow when clicking Search output line
-
I regularly have to view large XML files. The one I am looking at right now is:
length: 40,556,144
lines: 974,367When using the Find All in Current Document command, it quickly finds the lines and displays them in the search results. However, when double-clicking on one of the search result lines, it takes a while before the selected line is displayed in the editor.
If looking at the search results and using the Go To command to enter the line number from the search results, the line is quickly displayed.
Can the search results for double-clicking on the line use the same functionality of the Go To command so it is quicker to go to the selected line?
-
Please provide the version info of the Notepad++ you are using.
Is what you’ve noticed something new, perhaps since you moved to a new version? -
@Alan-Kilborn It has always been like this. I am using version 8.4.4 right now.
-
Do you have Word wrap turned on? See Edit menu. If it is turned on, turn it off, repeat your testing.
Do you have plugins? If so, suggest selectively disabling them and repeat your testing.
-
@Alan-Kilborn I turned word wrap off and double-clicking on the search result line was quick to find it in the editor. Looking through the file, I can’t see any word-wrapped lines though. Is that something that can be improved or do I have to use this workaround every time I have a large file?
-
Historically with N++ and its underlying editing component, some operations with “wrap” on are just SLOW.
Turning wrap off permanently might be a good idea, but wrap is currently a global setting that affects all editing tabs, and maybe you really need it on for some of your tabs.
-
@Alan-Kilborn Thanks for finding the workaround.