Page 1 of 1

IDE, using TabKey can delete code

Posted: Fri Mar 10, 2006 11:47 pm
by va!n
just try following example and mark only the complete line "test = 2" and try what happens, when pressing now the TabKey (the marked line will be deleted) :twisted:

Code: Select all

test = 1
test = 2  
test = 3

Posted: Fri Mar 10, 2006 11:49 pm
by Fred
It's the wanted behaviour (check UltraEdit , it's the same).

Posted: Fri Mar 10, 2006 11:51 pm
by va!n
the wanted behaviour :?:

Posted: Sat Mar 11, 2006 12:39 am
by freak
Yes, the intendation of code blocks is only for multiline selections.
When the selection is only within one line, pressing tab works as normal,
which is inserting a tab (or a number of spaces), which of course replace the current selection.
Just like if you select something and press space.

Posted: Sat Mar 11, 2006 1:06 am
by Flype
aaaahhh, i was wondering what's happened...
thanks for the precision.