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.
Share
Indeed, the general principle of syntax highlighting are using the StyledText Widget.

The JavaSourcecodeViewer is a more advanced example.

The JavaViewer is even more detailed (source code).