Anton
Anton

Reputation: 459

Change background-colour in parts of sourcecode with Roslyn

I am a bit confused, because I didn't find any information about colouring with the editor services of Roslyn. Probably I used the wrong phrases and expressions.

I would like to change the background-colour of words or blocks in my source-code, after my analysis with Roslyn. The highlight possibility to underline parts with a type of "error", "info" or "warning" is not what I am looking for! Maybe you can provide me with an idea or the information where to start!

I use Visual Studio 2012 Ultimate and Roslyn Vers. Sep. 2012

Upvotes: 0

Views: 200

Answers (1)

Kevin Pilch
Kevin Pilch

Reputation: 11615

Take a look at the ClassificationProvider sample. Classification is the term that the VS editor uses for syntax coloring.

Upvotes: 1

Related Questions