I am using XamSyntaxEditor ,and Language is set to Visual Basic Language .
But Apart From VB language syntax ,I want to apply some additional syntax Highlights .
Like word 'Result ' in my editor should be highlighted in color blue , Like wise other VB keywords .
I tried to use classification Appearnace map ,but as word 'Result' comes in 'identifier' classification type ,so it will make alll identifier blue .
Basically I want to treat word 'Result' as a keyword .
Can we modify existing Keyword list of in code to add word 'result' into it ?
Or In editor whenever Word result is typed it should be highlighted in color blue likewise keyword .
12.2 was a CTP version of the parsing framework which is no longer supported. 13.1 is the first version of the parsing framework which was RTM-ed. It is possible for you to upgrade to 13.1 or later?
Hi Mike,
Thanks for feedback.
I am not able to compile code given by you succesfully .
As I am not able to import Infragistics.Documents.Parsing ,I have imported Infragistics.Documents but on Documents no namespace as such 'Parsing' available
Also DLL : InfragisticsWPF4.Documents.TextDocument.VisualBasic.v13.2.dll ,similar dll of 12.2 version is not present on my local machine .
I am using Infragistics 12.2 (Version=12.2.20122.2052) ,Code providede by you can it be supported in 12.2 ?
To do this, you will need to actually modify a copy of the VB grammar. This can easily be done with a few lines in code. I have attached a project which shows how to do this. Let me know if you have any question.