So the question is whether this is generally useful enough to be
included directly in SciTE; if it can be done with a script, surely
this is good enough?
steve d.
I suppose you refers to the following line in the changelog of 2.26:
Selected lines can be moved up or down together. Feature #3304850.
Have you read the feature request?
http://sourceforge.net/tracker/?func=detail&aid=3304850&group_id=2439&atid=352439
I have:
<<
Add MoveSelection[Up|Down] - ID: 3304850
Attached should be a Mercurial binary bundle of my 3 patches that
implement the keyboard equivalent of drag-and-drop, allowing the user to
move the current line (or selection of lines) up or down one line using
a keyboard shortcut. I've been craving this feature for so long, I
thought I would add it for you. :)
I tested with SciTE by adding the following to user.shortcuts,
effectively binding Alt+Up to MoveSelectionUp and Alt+Down to
MoveSelectionDown:
Alt+Up|2620|\
Alt+Down|2621|
[...]
>>
Looks like it answer your request already...
--
Philippe Lhoste
-- (near) Paris -- France
-- http://Phi.Lho.free.fr
-- -- -- -- -- -- -- -- -- -- -- -- -- --
Now that you have described it, I find myself craving this feature as well ;)
A very keyboard-friendly way of editing!
steve d.