public class HighlightStringListener extends Object implements org.eclipse.swt.custom.LineStyleListener
StyledText.LineStyleListener| Constructor and Description |
|---|
HighlightStringListener()
Constructor of the class
|
| Modifier and Type | Method and Description |
|---|---|
void |
addTarget(String target,
org.eclipse.swt.graphics.Color fgcolor)
Specify combination of target String and the foreground color of it.
|
void |
addTarget(String target,
org.eclipse.swt.graphics.Color fgcolor,
int style)
Specify combination of target String and the foreground color/style of
it.
|
void |
lineGetStyle(org.eclipse.swt.custom.LineStyleEvent arg0) |
public HighlightStringListener()
public void addTarget(String target, org.eclipse.swt.graphics.Color fgcolor)
target - target Stringfgcolor - foreground color for the target Stringpublic void addTarget(String target, org.eclipse.swt.graphics.Color fgcolor, int style)
target - target Stringfgcolor - foreground color for the target Stringstyle - style (SWT (BOLD, NORMAL, ITARIC)) for the target
Stringpublic void lineGetStyle(org.eclipse.swt.custom.LineStyleEvent arg0)
lineGetStyle in interface org.eclipse.swt.custom.LineStyleListener