I would like to assign a color to each character that appears within quotes. E.g.:
- Code: Select all
//normal text (no special color)
"aaabbbbccccccc" (in this quoted section I would like to be all 'a' in red, all 'b' in yellow etc.
These sections may grow very large, so the coloring should be fast.
How can I achieve this in an efficient way?
Thanks in advance for any hint!