W3bbo said:Ion Todirel said:*snip*
See this screenshot:
As you can see, lines that don't contain anything don't have any tabs characters in them. VS2003, 5, and 8 all indented new lines as you pressed the Return key, VS2010 doesn't: it only indents the line once you type something on that line. If you press Return again you get \r\n\r\n rather than \r\n\t\t\t\r\n.
When typing code this isn't a huge problem for me because the caret is magically in the right place 90% of the time, but when I move the caret around with my arrow keys it often ends up in Column 1 when it should be in Column 3 (see screenshot, line 98) where it would be if empty lines were indented.
One question. Does the condition in the ternary operator on line 75 ever evaluate to true?
By the way, those dots in place of spaces are extremely annoying. They make me feel like I am reading space-less strings instead of what I assume is C# code.