I migrate a program from Swing to SWT. I have a simple window implemented using Swing: javax.swing.JTextArea and import javax.swing.text.Highlighter, which allow a user to highlight words of his interest.
I wonder what the fastest way to implement this functionality in SWT is. I have found that I could use a eclipe component (here is an example) but I think there should be an easier way.
You can use
org.eclipse.swt.custom.StyledText.