public class KawapadTemporarySearchHighlighter extends KawapadTemporaryHighlighter
KawapadTemporaryHighlighter.ClearingPosition
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
GROUP_ID |
clearQueue, LOGGER
Constructor and Description |
---|
KawapadTemporarySearchHighlighter() |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
getCurrentWord(java.lang.CharSequence text,
javax.swing.text.Caret caret) |
static java.lang.String |
getCurrentWord(java.lang.CharSequence text,
CaretTransformer.CaretPos caret) |
static void |
highlightSearchPatterns(javax.swing.text.JTextComponent component,
java.lang.CharSequence text,
java.util.regex.Pattern pattern) |
static void |
highlightSearchPatterns(javax.swing.text.JTextComponent component,
java.lang.String searchString,
boolean wordSearch) |
addClearingHighlightQueue, addHighlight, addHighlight, addParenthesisHighlight, eliminateClearingHighlightQueue, logError, logInfo, logWarn, popClearingHighlightQueue
public static final java.lang.String GROUP_ID
public static void highlightSearchPatterns(javax.swing.text.JTextComponent component, java.lang.CharSequence text, java.util.regex.Pattern pattern) throws javax.swing.text.BadLocationException
javax.swing.text.BadLocationException
public static java.lang.String getCurrentWord(java.lang.CharSequence text, javax.swing.text.Caret caret)
public static java.lang.String getCurrentWord(java.lang.CharSequence text, CaretTransformer.CaretPos caret)
public static void highlightSearchPatterns(javax.swing.text.JTextComponent component, java.lang.String searchString, boolean wordSearch) throws javax.swing.text.BadLocationException
javax.swing.text.BadLocationException