Highlighting IDE controlled by macro

Is it possible to change colors of lines and words in program code from a macro?
I would like to be able to do this from theDocumentOpened andLineChanged events.

The code I need this for is actually Cobol, where I want to paint lines starting with asterisc (comments) with one color, and my choice of keywords with another color.

[387 byte] By [Asbjorn] at [2007-12-16]
# 1
Unfortunately it is not possible to do this with a Macro. If you want to colorize another language your best bet is to download the VS SDK and create a language service using the wizard.

Thanks,

Dylan

DylanLingelbachMSFT at 2007-9-9 > top of Msdn Tech,Visual Studio,Visual Studio Extensibility...

Visual Studio

Site Classified