Hi All,

foremost i want to mention that i've no practical experience
with C/C++ and all the compiler stuff etc. But i like contributing
more than feature requests so i've tried to implement a tiny feature myself.

i've added 2 new commands to the scintilla editor:

Editor::SelectionMoveDown (keys: <alt> + <shift> + <down>)
Editor::SelectionMoveUp (keys: <alt> + <shift> + <up>)

Behaviour:
if there is no selection the command moves a
the current line up/down. if multiple lines are
selected, these lines are moved up/down.

currently the last line is moved also, i'm not sure if this "feels/looks" good.

you can download a the binaries (mingw) and a diff here:

zip <http://ghostwhowalksinside.org/downloads/scite/scite_contrib.zip>
diff <http://ghostwhowalksinside.org/downloads/scite/scite_contrib.diff>

the implementation is of course really alpha. i'm sure the
methods above can be optimized. it would be fine if someone
can look at it. tips and critics are welcome.

ps: there is currently no constant for the commands bcause
i don't know to handle the autogenrated/iface stuff.

--elias
_______________________________________________
Scite-interest mailing list
[email protected]
http://mailman.lyra.org/mailman/listinfo/scite-interest

Reply via email to