I’ve implemented a language service with syntax highlighting and it works fine. I used pre-defined 6 colors from TokenColor enum. Now I’m trying to configure my own colors. I do so by implementing GetColorableItem and GetItemCount on my language service. Once I do so all my text appears black.
I debugged and noticed that GetColorableItem gets called and an item is successfully returned. On the ColorableItem object only GetDisplayName function gets called, so it seems that Visual Studio is not asking my colourable item for color and font size.
Any ideas why this might happen?
A bit more details:
1) I have the following attribute on my Package:
[ProvideLanguageService( ... RequestStockColors = false, ...)]
2) When I open [Options] => [Fonts and Colors] I don't see my items in the list
3) GetItemCount function neger gets called