Reputation: 253
I´m using Visual Studio 2012 Ultimate version 11.0.51106.01 Update 1. I configured black as background color and white as foreground color but C# collapsed regions are appearing with a black foreground, making it invisible. How can I correct this?
Expanded regions with the correct colors:
When collapsed, the region becomes invisible (black foreground and black background):
Upvotes: 16
Views: 4547
Reputation: 1
If you don't want to restart VS, just create a custom color for the "Collapsed text (Collapsed)" as described by ijprest. This works for VS 2015. However, if you select one of the preset colors, you still have to restart VS.
Upvotes: 0
Reputation: 4228
I had the same problem. I found that "Collapsed text (Collapsed)" does indeed work. The trick is that you have to restart Visual Studio for the changes to be applied. I'm not sure why this is the case (since all other color changes happen immediately), but I've verified it by changing it a couple of times.
I've tested it using both the built-in UI, as well as the Visual Studio 2012 Color Theme Editor extension. Both cases require a restart (though I can't be sure if merely having the extension installed is causing it to behave poorly).
Upvotes: 22