Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
500
How I can highLight particular word in different color ?
posted

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 .