I am not committed to any particular GUI or anything else - just need to be Java based. I want to make simple syntax highlighting (XML and XQuery) inside editable text areas.
My only candidate so far is Swing JTextPane, as it seems to support text styling, but I don't know how to implement it in this context.
If a particular toolkit has something similar out of the box, that would be awesome, but I can do it manually if necessary.
rgcb source
share