Version: 3.00a4
Tab Size: 4
Example:
function($SomeRandomVariable)
{
[Cursor]
If I now hit the Tabkey it moves only one space to the
right:
function($SomeRandomVariable)
{
-[Cursor]
Another hit moves the cursor to the far right, aligning
nicely with the end of the bracket, which of course is
not the desired effect:
function($SomeRandomVariable)
{
------------------------------[Cursor]
Funny enough, when using the backspace, it
behaves "correctly" ;)
Logged In: NO
I can verify this bug. I'm using dev-php 3.01 b1 in a VM environment, using VMWare's console to view the dev page and upon hitting Tab it will sometimes space way to the right, other times it will under-tab, other times it will tab correctly.
I have turned off smart tabs and am now working with normal tabbing, which seems to work fine. Apparently smart tabs are so smart that I don't even know what it's doing anymore! If you ask me, I think the smart tabs are keeping the furthest position that the tab key had been pressed, then sending all characters to that position when it's pressed again, instead of the position of the previous line.
Thanks!