Re: minor selection inconsistency with move-lines-up/down

2022-07-19 Thread jkn
Yes, that's a good summary of my suggested behaviour. I agree it's a bit tricky; it's mostly a matter of deciding where you want the inconsistencies to lie.. I also agree that it's worth thinking about the behaviour if the cursor is on an empty (=?= 'blank?) line J^n On Tuesday, July 19, 202

Re: minor selection inconsistency with move-lines-up/down

2022-07-19 Thread tbp1...@gmail.com
I think that this is tricky, because what is the "right" way? For a single line, it seems obvious that the line should be moved, whether or not it has been selected. The hard case is when several lines have been selected and then the cursor is on another line. Should only the selected lines m

Leo 6.6.3 coming this Friday, July 22

2022-07-19 Thread Edward K. Ream
Leo 6.6.3 is ready for final testing! Please test devel and report any problems immediately. FĂ©lix has completed the work on leoserver.py. This work supports important improvements to leoJS and leoInteg. Edward P.S. I have just created the 6.6.3 branch. I'll do all release-related work in

Re: minor selection inconsistency with move-lines-up/down

2022-07-19 Thread jkn
I understand your point (I said "I can see how this occurs"), but IMO it would be better (more generally useful) if this was special-cased. As I say, the behaviour of Delete/Ctrl-X is different from 'move-lines'. I am happy if this opens up a discussion as to the benefits of each approach. J^n

Re: Icons with relative paths - status report

2022-07-19 Thread spike
Within Leo, header icons are only used by the default status icon, a few UI commands, the 'todo' plugin, the 'declutter' feature, and a handful of unused functions in editCommands. All live references are limited to only four files: commands/editCommands.py core/leoCommands.py plugins/qt_tree.py pl

Re: minor selection inconsistency with move-lines-up/down

2022-07-19 Thread spike
The KWrite editor works almost exactly the same way, just Ctrl-Shift-Up/Down, and it doesn't insert blank lines if you try to go past the top or bottom of the file. It can be a bit surprising that it works this way, but it's consistent because you highlighted the newline character at the end of th

minor selection inconsistency with move-lines-up/down

2022-07-19 Thread jkn
Hi all I have been using the 'move-lines-up' and 'move-lines-down' commands (Ctrl-up and Ctrl-down) quite a bit recently. They are very handy and I miss them in other editors I use ;-) I have seen a small inconsistency though; I flag it here for consideration as an enhancement. It's to do with