-
Notifications
You must be signed in to change notification settings - Fork 176
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Word wrap is slow #692
Comments
The slow is not replaceable on my system. you can configure Notepad2 to use Direct2D or different wrap mode (default "Automatic word wrap" is the slowest one) to speedup word wrap. |
Reproduced when using "2nd Text File", works fine with "Text File" scheme. |
Thanks for the quick response. I've changed wrap mode to "wrap text between words" but the issue persists. Direct2D doesn't help either, and if possible, I'd prefer to keep using GDI because one of my PC is still Windows 7 and Direct2D doesn't work well. I'm always using the default "Text File" scheme. I though "2nd Text File" is simply a set with different font/color settings. Would it affect word wrap function? I attach my Notepad2.ini for your reference. You might need change font because Monaco monospaced font isn't system default. |
The slow is caused by wrap all lines in one go: comment out |
Awesome! You identity the root cause so quickly :) |
Fixed by 763569c. however we should really implement parallel |
Marked as breaking change: after toggle word wrap, caret maybe invisible with the change. |
In latest stable version Notepad2_en_AVX2_v4.23.06r4862, word wrap is slow. For example, it takes over 5 seconds on a small 1.2MB text file (sample file attached).
1.zip
Reproduce steps:
This doesn't happen on original notepad2-mod and Notepad3. On the same PC, both of them complete word wrap almost instantly.
As all these 3 editors are Scintilla based, it's a bit strange to see such a big difference.
BTW, I've already configured notepad2 to use GDI and monospaced font.
The text was updated successfully, but these errors were encountered: