> If I select multiple lines and press the hotkey, I would expect that
> all of the selected lines (or complete lines that contain part of the
> selection) move up as a group.
Another point of view for the Line Transpose command would be swap
an equivalent number of lines as were selected.
However, I think it would not be compatible enough to change in
this way or as you want. I'm also not that enthused about including
complex commands that can be implemented out of the basic commands
using scripts. There's enough disagreement over the behaviour of
simple commands so there will be even more for something like this. I
can imagine people wanting a transpose command that tries to intuit
the natural unit selected - character, word, sentence, statement, line
or block and swap it with the previous equivalent.
Neil
> hi, XS, you may try our latest version of Sc1IDE (formerly SciTE LaTeX
> IDE) available from http://code.google.com/p/scitelatexide/. Such features
> have been integrated with our customized editor. You may also see similar
> "Move Down","Move Right","Move Left" features. And maybe you will find
> many more features which do not exist in other editors:-)
Ok.
Only you forgot to say that this script is taken in SciTE-Ru and its author is codewarlock.
http://scite-ru.googlecode.com/svn/trunk/pack/tools/MoveLines.lua
Or did you mean another script?
--
mozers
<http://scite.net.ru>
--
使用 Opera 革命性的电子邮件客户程序: http://www.opera.com/mail/