kb1
1
I have worked out how to highlight numbers in a different color using:
parser.Scheme.Styles[1].ForeColor = System.Drawing.Color.Blue; // numbers
However, I’d also like to be able to color the strings that appear AFTER the semicolon a different color.
For example, like this:
Would this be possible? thx!
Hi,
This can be done but would require some changes in lexical analysis.
I’ve uploaded a sample project here that shows how this can be implemented.
https://drive.google.com/file/d/1YFP8dFaudqiTYo1W-FAuxmUsAQ1Kt9sK/view?usp=sharing
Regards,
Andrew
kb1
3
It’s perfect. I’ll play around with this but it looks pretty great. Thx for the sample project!