I was working on a mini-app the other night, and was trying to figure out how to color only certain words in a text-based control. After a bit of poking around, I discovered that the TextRange class seems to be the right tool for the job.
Full code after the jump.
Continue reading ‘Using the TextRange class to hightlight text’



