Interface SequencesHighlightable
public interface SequencesHighlightable
Aspect providing an API to highlight textual sequences.
- Since:
- 5.0.101
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final AspectType<SequencesHighlightable>Aspect providing an API to highlight textual sequences. -
Method Summary
Modifier and TypeMethodDescriptionbooleanhighlightSequences(@Nullable String regExp) Highlights all matching sequences.
-
Field Details
-
TYPE
Aspect providing an API to highlight textual sequences.- Since:
- 5.0.101
-
-
Method Details
-
highlightSequences
Highlights all matching sequences. Prior to highlighting, existing sequence highlighting should be removed. If provided regular expression isnullony existing highlights should be removed.- Parameters:
regExp- Regular expression used for matching ornullfor clearing highlights only.- Returns:
trueif matches were highlighted- Since:
- 5.0.101
-