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
[Qt5 build] Find tool breaks editor in document with long line and enabled word-wrap #4996
Comments
In second 6 of the recorded video, I clicked View in menubar and enabled word-wrap, but the recorded video can't show it. You can see that when editor becomes blank a strange horizontal scrollbar appears. There shouldn't exist horizontal scrollbar in word-wrap mode. The editor is blank because document content is to the left of current position in this strange horizontal scrollbar. cuda.mp4 |
can't reproduce too |
Maybe it's a bug in the qt5 build. I just tested with the gtk2 and I can't reproduce with it. |
yes, I see it now in qt5 build. |
qt5 build is problematic, #4955 is similar: gtk2 is not affected, but qt5 is. |
found the reason.
and found bad item in wrapinfo. fixing. Thanks! |
App updated to 1.191.0.4. |
> better apply Screen.HintFont for hints > for Alexey-T#5005 > for Alexey-T#5005 > cmt > fix bug in wrapinfo calculation with unicode text, Alexey-T#4996 > refac > rename vars > add typecast to Int64 > fix in UpdateScrollbars, set horz pos to 0 if word-wrap on
Tested with factory reset CudaText (all default).
https://gist.githubusercontent.com/pintassilgo/9704632c3ce21e4ee9d68918ddd57da0/raw/gistfile1.txt
Suddenly, editor will become blank. There are 7 matches for "cached", the ones causing the bug are the last three. Apparently, some bug is causing Cuda to create a strange horizontal scrollbar that shouldn't exist (because word-wrap is enabled).
The text was updated successfully, but these errors were encountered: