Anyone know of an SWT widget that can be a text editor with support for syntax highlighting? I'm aware of the StyledText widget but I'm hoping that somebody has already written some libraries so one can just specify the keywords that should be highlighted.
A:
I'd look into what Eclipse uses in their code editor. Because if any SWT application uses syntax highlighting, its Eclipse.
Aaron Maenpaa
2009-04-03 14:02:06
Thanks --- I was hoping to find a "simplified" widget where all that would be necessary is to provide a few sets of keywords and that's it....much like the geshi syntax highlighting system used in the mediawiki
David
2009-04-09 15:52:53
I understand. I am not sure such a custom component does exist, but I will keep looking
VonC
2009-04-09 16:56:12
A:
Perhaps what you are looking for is Eclipse Colorer plug-in.
I have no idea though if and how would the colorer be usable as an SWT widget.
Roland Tepp
2010-04-12 11:08:47