You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, if you have a single line that is wrapped beyond the editor view, it isn't possible to scroll down to view that text.
I've identified the issue to be in this block. Because of d0b4b46 this logic uses the line index, which will always be 0 and equal the scroll index for a single wrapped line, thus never triggering this behavior. Scrolling works correctly if there are two or more lines, even when wrapped beyond the view in the same way.
I'm trying to figure out a fix myself, but I'm brand new to this codebase and don't yet understand the change introduced in d0b4b4 or why it is important, so might be faster for someone more versed.
The text was updated successfully, but these errors were encountered:
Currently, if you have a single line that is wrapped beyond the editor view, it isn't possible to scroll down to view that text.
I've identified the issue to be in this block. Because of d0b4b46 this logic uses the line index, which will always be 0 and equal the scroll index for a single wrapped line, thus never triggering this behavior. Scrolling works correctly if there are two or more lines, even when wrapped beyond the view in the same way.
https://github.com/pop-os/cosmic-text/blame/1f4065c1c3399efad58841082212f7c039b58480/src/buffer.rs#L343-L359
I'm trying to figure out a fix myself, but I'm brand new to this codebase and don't yet understand the change introduced in d0b4b4 or why it is important, so might be faster for someone more versed.
The text was updated successfully, but these errors were encountered: