Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Colors for C# collapsed region in visual studio 2012

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:

expanded region

When collapsed, the region becomes invisible (black foreground and black background):

collapsed region

like image 427
Bolha Avatar asked Feb 08 '13 12:02

Bolha


People also ask

How many Colours are there in C?

Total number of colors available are 16. Number of available colors depends on current graphics mode and driver. For example, setcolor(RED) or setcolor(4) changes the current drawing color to RED.


1 Answers

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).

like image 104
ijprest Avatar answered Oct 19 '22 18:10

ijprest