Question

Visual C++ 2010 has some sort of weird syntax highlighting issue when it comes to tab characters inside comments, and I know this is a trivial issues, but it's driving me crazy. I'm going to have to show you some screenshots so you will understand what I mean...

This is in Visual C++ 2010 Express This is in Visual C++ 2010 Express

Same thing pasted in Visual C++ 2008 Express Same thing pasted in Visual C++ 2008 Express

Was it helpful?

Solution

I was able to reproduce this in Visual Studio 2010 and the 2011 preview.

To reproduce:

Tools->Options->Fonts And Colours->Comments
Item Background -> Purple/Red/Blue/Anything

The only solution was to change the back colour of all text (Plain Text), which I don't think you wanted to do or to go back to 2008 Express

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top