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
190
Highlight single Token from Code
posted

Hi,

is there a way to Highlight a single Token in the XamSyntaxEditor?

I have to perform a Min- Max-Limit check for a Token where the Limits are only known after starting the Program. Thus I am looking for a way to find all Tokens I need to check and Highlight them (overriding the Language style) if they are out of bounds.

The best would be if I could somehow use the Syntaxerror reporting.

Thus far I was able to find the Tokens and check the values, but I don't know how to Highlight them to show the User that he has entered a not valid value.

Regards

Thomas Stüven

Parents Reply Children
No Data