Hi everyone,
I am about to implement a custom language service that will provide a set of custom colorable items. If I get the MSDN docs correct, this article describes the interfaces I need to implement:
http://msdn.microsoft.com/en-us/library/bb166250.aspx
However the interfaces referenced in said article do not seem to consider the currently selected color theme in Visual Studio, while I did check that changing the color theme affects the font & color settings for standard display items in the Text Editor category.
So my question is how do I provide the default font & color settings for the custom colorable items in my language service for each of the standard Visual Studio color themes? Is it at all possible?
An array of COLORINDEX entries passed as an argument to IVsColorableItem.GetDefaultColors makes me think that it is possible to provide several default background or foreground colors, but nevertheless it remains totally unclear how would I map those defaults to the color themes.
So, I'd greatly appreciate any help in this regard.
Thanks!