That's it, thank you. I remember i tried in the past and get used not to use it because of that behavior, but now i'll save some time.

On Thu, May 22, 2008 at 3:16 PM, Sven Axelsson <sven.axelsson@gmail.com> wrote:
2008/5/22 Baluta Cristian <cristi.baluta@gmail.com>:
> i'm selecting from line 2 to 7 and press the shortcut. I'm using
> ActionScript but i get this with php too. but more important, this behavior
> is only for lines of code inside a function

That is because you start your selection after the tabs on the first line.
If you instead select the entire line for all lines you want to comment out
it works as expected.

I tried this in PHP. I wonder if this is a recent regression since I am pretty
sure I have tried this before without getting the behaviour Christian mentions.

--
Sven Axelsson
++++++++++[>++++++++++>+++++++++++>++++++++++>++++++
>++++<<<<<-]>++++.+.++++.>+++++.>+.<<-.>>+.>++++.<<.
+++.>-.<<++.>>----.<++.>>>++++++.<<<<.>>++++.<----.

______________________________________________________________________
For new threads USE THIS: textmate@lists.macromates.com
(threading gets destroyed and the universe will collapse if you don't)
http://lists.macromates.com/mailman/listinfo/textmate



--
Cristi
www.ralcr.com