Hi,
There are 2 parts to this question:
- Is there a way to move a selection up/down - sort of like what Notepad++ does with Ctrl+Shift+Up/Down (http://sourceforge.net/apps/mediawiki/notepad-plus/index.php?title=Shortcuts)?
I'm aware of Ctrl+T, but that doesn't work for a selection and AFAIK there's not way to swap with the line below.
I noticed that pressing Ctrl+T in
Settings -> Editor -> Keyboard Shortcuts -> New shortcut
says that it's currently not assigned to anything (even though it is).
I'm using version 12.11 rev 8629 in Ubuntu Lucid (10.04)
Thanks
Dushara
I do not find that Ctrl-T is assigned to anything on my system.
What is it assigned to on yours?
QuoteI do not find that Ctrl-T is assigned to anything on my system.
What is it assigned to on yours?
It seems to be assigned to Transpose (swap lines) but the setting does not show up in the menu or in the Keyboard Shortcuts configuration dialog.
Alt+Up/Down
Quote from: dushara on December 26, 2012, 01:42:56 PM
- Is there a way to move a selection up/down - sort of like what Notepad++ does with Ctrl+Shift+Up/Down (http://sourceforge.net/apps/mediawiki/notepad-plus/index.php?title=Shortcuts)?
[Tlist]
To my knowledge it
is implemented - Alpha did it. But I can't recall how to do it at the moment. However, are you aware that you can drag and drop selected text in an editor using the mouse?[/list]
Quote from: MortenMacFly on December 26, 2012, 03:33:39 PM
To my knowledge it is implemented - Alpha did it. But I can't recall how to do it at the moment.
Quote from: Alpha on December 26, 2012, 03:31:28 PM
Alt+Up/Down
??
Quote from: Alpha on December 26, 2012, 03:31:28 PM
Alt+Up/Down
Thanks Alpha. Just out of curiosity, there's no menu option for that is there?
Edit->Special commands->Line->Move up/down
Quote from: Alpha on December 28, 2012, 06:44:28 PM
Edit->Special commands->Line->Move up/down
Cool thanks.
Once again to all the devs: Thanks for a great IDE.