howto color certain letters in "quoted text"

Questions on using RSyntaxTextArea should go here.

Moderator: robert

howto color certain letters in "quoted text"

Postby vaske » Mon Jul 28, 2014 11:26 am

Hi all,

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.
like:
"aaabbbbccccccc"
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!
vaske
 

Re: howto color certain letters in "quoted text"

Postby robert » Fri Aug 01, 2014 1:23 pm

You would have to create a custom TokenMaker instance to do this. You would use this wiki article as a starting point.

Feel free to post again if you get started and have any questions!
User avatar
robert
 
Posts: 796
Joined: Sat May 10, 2008 5:16 pm


Return to Help

Who is online

Users browsing this forum: No registered users and 7 guests