Posted August 28th, 2010 by jimkeir
Hi,
In 2.9.2.6354 for VS2008, auto-indenting doesn't work correctly if you break a long line of code into two. For example:
$new_string = "a very long string, which I ".
[tab 1]"really can't be bothered to type.";
[tab 2]$new_string .= "Hey, this is wrong!";
[tab 2]$much_later = "Let's continue another long string ".
[tab 2][tab 3]"here, just to prove the point";
[tab 2][tab 3]return 1;
Tab 1 is fine, that's showing that the line is continued. However, [tab 2] isn't, and all lines for the rest of the entire document end up one tab too far *for every continued line preceding them*. That is, if you have three long lines continued onto the next, all other lines of code end up three tabs too far to the right.
Cheers,
Jim
juanc says:
I tried replicating this problem but I couldn't. For the file I created it behaves correctly.
Could you please send me a sample file that reproduces this problem?
Email to support (at) jcxsoftware
Thanks,
Juan