Scrolling does not restrain caret

Solved bugs are moved into this topic...
Post Reply
qwerky
Posts: 172
Joined: 21.10.2013 00:58

Scrolling does not restrain caret

Post by qwerky »

When "scroll line up", "scroll line down" (Ctrl+Up, Ctrl+Down) repeatedly, the caret remains on the same line, and when that line reaches the top/bottom of the window, further scrolling causes the caret to move to the previous/next line, in order to remain visible. In my opinion, this is absolutely correct.

But, when "scroll column left", "scroll column right" (no default keys) repeatedly, the caret is not restrained, and it moves out of the window. In my opinion, these actions should restrain the caret within the window, so that it is always visible, just like the actions above. Likewise with "scroll to left edge".

The actions "scroll page up", "scroll page down", "scroll to document begin", and "scroll to document end" are rather a puzzle. They also allow the caret to disappear outside the window. I'm not sure what the purpose of these functions are, when we already have "caret page up" (PgUp), "caret page down" (PgDn), "go to text begin" (Ctrl+Home), and "go to text end" (Ctrl+End), which keep the caret visible.
main Alexey
Posts: 2265
Joined: 25.08.2021 18:15

Post by main Alexey »

main Alexey
Posts: 2265
Joined: 25.08.2021 18:15

Post by main Alexey »

should be fixed, in the next update.
history.txt:
+ add: commands "scroll to document begin", "scroll to document end", "scroll column left", "scroll column right" now respect option "caret_keep_visible_on_scroll":true (thanks @qwerky)
The actions "scroll page up", "scroll page down", "scroll to document begin", and "scroll to document end"
I saw it only with "scroll to document begin/end", but AFAIK "scroll page up/down" already keep caret on screen. tested - they work ok.
main Alexey
Posts: 2265
Joined: 25.08.2021 18:15

Post by main Alexey »

i now saw the incorrect work of 'keeping on screen' for 'scroll page down'. and fixed it.
qwerky
Posts: 172
Joined: 21.10.2013 00:58

Post by qwerky »

Thanks, Alexey!
Post Reply