15sec freeze with word wrap
-
I’ve been frustrated when using Notepad++ 64bits to find and replace within a single file, about 1/3 of the time, the program becomes unresponsive for around 15sec when jumping from one search result to another. The file is a 14 MB plain text document with about 300,000 lines.
Only recently did I discover that disabling Word Wrap completely eliminates the 15s freeze. Everything runs smoothly afterward. Is Word Wrap really that heavy of a performance cost?
Thanks
-
@Cheok-SC said in 15sec freeze with word wrap:
Is Word Wrap really that heavy of a performance cost?
Yes.
There’s a reason that Settings > Preferences > Performance automatically deactivates word-wrap for large files, when all the other performance issues start with the checkboxes off, so you have to decide to also deactivate other features for large files. Word wrap and syntax highlighting are the two biggest performance costs, because they involve processing the entire file