I have a set of keywords I'd like to have rendered a different color in the editor. Is there a simple way to accomplish this?
Hi Glitch,
The easiest way to accomplish highlighting of the set of keywords is to use generic lexer and either set syntax scheme at design-time, or load it from file/resource. I'm uploading sample project demonstrating this approach:
http://www.alternetsoft.com/forum/ColoredReswords.zip
We also ship syntax shemes for 30+ programming languages, you can look at them here, provided that you have Extensibility Studio installed.
Users\Public\Documents\AlterNET Software\Extensibility Studio 2.1\Demo\Resources\Editor\Schemes
regards,
Andrew
The easiest way to accomplish highlighting of the set of keywords is to use generic lexer and either set syntax scheme at design-time, or load it from file/resource. I'm uploading sample project demonstrating this approach:
http://www.alternetsoft.com/forum/ColoredReswords.zip
We also ship syntax shemes for 30+ programming languages, you can look at them here, provided that you have Extensibility Studio installed.
Users\Public\Documents\AlterNET Software\Extensibility Studio 2.1\Demo\Resources\Editor\Schemes
regards,
Andrew