Before I dive too deep... I have a minor gripe about the behaviour of these commands, usually bound to the 'Up' and 'Down' keys.
If the cursor is on the last line of a node body, but not at the end of that line ... then 'next-line' has no effect on the cursor position
Similarly, if the cursor is on the first line, but not at the beginning, then 'previous line' has no effect on the cursor position.
I would like/expect, from usage with other editors over the ages, for this to work slightly differently:
- if the cursor is on the last line of a node body, but not at the end of that line ... then 'next-line' moves the cursor to the end of that line/body
- if the cursor is on the first line, but not at the beginning, then 'previous line' moves the cursor to the beginning of that line/body
I started to take a look at where this behaviour is implemented, but it is somewhat buried in both generic- and qt- code. Before I go any deeper:
- Are there any @settings that might change this behaviour? I can't see any but thought I'd ask first.
- [Edward] is it your chosen preference for this behaviour to be the standard, or is this just a quirk. ie. would my preferred behaviour violate some editing philosophy you may have in mind?
I guess I am wondering if there is any general appetite for making such a change. Of course the current behaviour would also have to be allowable, via some @setting.
Thanks, J^n