Keys Home/End go to beginning/end of text frame instead of start/end of line

• Nov 4, 2017 - 21:33
Reported version
2.1
Type
Graphical (UI)
Severity
S5 - Suggestion
Status
closed
Project

When editing text in a text frame, pressing the home/end keys moves the cursor to the beginning/end of the text, while these keys normally lead to the beginning/end of lines. Instead, moving to the beginning/end of the text should be done via Control+Home/End (which works, by the way).
IMHO the action of these keys should be changed.


Comments

Severity S5 - Suggestion

I'm going to call this a feature request since I don't know what results the person who wrote the code wanted.

Status (old) patch (ready to commit) by design
Status PR created by design

I would say this work as designed (at least in 2.1)

On Windows at least, Ctrl+left/right are "word backwards" and "word forward", not beginning / end of line. And that much is correct in my view - at least, that's how other Windows programs behave. Is it different for Mac?

Home / End in most Windows programs moves to beginning end of line, not beginning / end of text, so if the PR in question achieves that, I'm in favor. Ctrl+Home/End move to beginning / end of text already, which is also as it should be.

Note there is a similar question about how these keys work outside of text edit mode. See #109286: ctrl-home doesn't scroll the score, ctrl-end only if there are several pages and #197101: Ctrl+Home does not reposition view to first element - maybe already fixed?

OK.. Sounds like like an OS dependent issue indeed...
On mac, I can go word by word with Alt+right/left, so we will need to be careful.

Thank you for the fix! The previous behavior was an annoyance for me for quite some time. (I use Windows, and hope the text editing movement keys are OK for folks using Mac and Linux.)