I have a Visual Studio plugin that has a code editor window, the code in this window shows colored to the user. I'm using this project http://colorizeoutput.codeplex.com/ as my base to create options inside the visual studio to manage the colors the code editor should display:
In the code editor, the result looks like this:
The problem is, the default colors for these tokens do not show well on the Dark theme:
I've found how to track the event when visual studio theme changes here, and how to find out what what visual studio theme was selected when that occurs, (I´ve also found out how to figure what version of visual studio is currently running, to open the correct registry key in the previous step) the only problem I have is how to programmaticly set the value of one of those options to what I want, for example, how do I set the "Item foreground" color for the XXXX Keyword with code?