Syntax high-lighting

I came across a cool control for syntax high-lighting based on a language (programming languages like C#, TSql etc.) created by  Pavel Torgashov. It provides a customizable way to configure syntax high-lighting based on configuration and you can even provide custom high-lighting based on a simple xml file.

I plan on using it in the QuickMon SQL Query collector’s editor so it  is easier to edit tsql statements. Seeing your code (sql) in different colors make it easier to spot editing problems and also to get a picture of what/where you are doing stuff. Of course, this control is not a compiler so it doesn’t actually do syntax or error checking but it helps with spotting problems if there are simple ones.

 

Leave a Reply

%d bloggers like this: