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.
Scrolling does not restrain caret
-
- Posts: 2265
- Joined: 25.08.2021 18:15
filed to https://github.com/Alexey-T/CudaText/issues/4828 , to-fix.
-
- Posts: 2265
- Joined: 25.08.2021 18:15
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)
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)
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.The actions "scroll page up", "scroll page down", "scroll to document begin", and "scroll to document end"
-
- Posts: 2265
- Joined: 25.08.2021 18:15