Page 1 of 1

Please add To help: Very nice undocumented IDE feature

Posted: Wed Mar 08, 2006 5:04 am
by va!n
Most of you know the feature to mark a part of your source (only each complete line when trying to mark a block) and using some nice shortcut commands like:

Code: Select all

Strg + C    =  Copy
Strg + V    = Paste
Strg + X    = Delete
What, if you really want only a column based block mark, for example when having a datasection like this...

Image

... and for example you want to cut the first three and last two values? If the first three and last two values would be "0", you could just do a find/repalce! But in this case its a bit problematical! In this example you could just copy the needed part "5,0,0,23" and copy/paste it with adding Data.b in front...

Image

But there is a most more flexibel and easy way to do it... Just set your cursor to the first line and to the first sign (left/top site of your wanted block)... now hold down "Shift + Alt" and set the right/upper blockend! (you can do the mark with your cursor keys or with your mouse). With this nice feature you can very fast copy/paste column based blocks to something like:

Image

I think its a nice feature to know about :D

Re: Please add To help: Very nice undocumented IDE feature

Posted: Wed Mar 08, 2006 5:16 am
by PB
Nice! Thanks for that. I'd say that it's probably a Scintilla feature, as
opposed to an undocumented editor tip though. Still, nice to know! :)

Posted: Wed Mar 08, 2006 6:11 am
by dracflamloc
Hey good tip!

Re: Please add To help: Very nice undocumented IDE feature

Posted: Wed Mar 08, 2006 9:45 am
by gnozal
PB wrote:Nice! Thanks for that. I'd say that it's probably a Scintilla feature, as
opposed to an undocumented editor tip though. Still, nice to know! :)
Yes, it's a scintilla feature : if you hold the ALT key down while selecting text with the mouse, you are in 'column mode'. Works with jaPBe too.