• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Apps Is there a Java library for syntax highlighting dynamic text?

Z10

Lurker
Hi everyone. Is there a Java library for colourings text in an EditText? Or is this just accomplished with Regex? I looked into Google Prettify but that seems to be for static text.
 
After some searching, I couldn't seem to find a library that provides syntax highlighting. You will probably need to subclass EditText and do the syntax highlighting yourself... If you do decide to do this, you should open source it, as this would be a very handy control!
 
Back
Top Bottom