Interface SequencesHighlightable
public interface SequencesHighlightable
Aspect providing an API to highlight textual sequences.
- Since:
- 5.0.101
-
Field Summary
Modifier and TypeFieldDescriptionstatic final AspectType<SequencesHighlightable>
Aspect providing an API to highlight textual sequences. -
Method Summary
Modifier and TypeMethodDescriptionboolean
highlightSequences
(@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 isnull
ony existing highlights should be removed.- Parameters:
regExp
- Regular expression used for matching ornull
for clearing highlights only.- Returns:
true
if matches were highlighted- Since:
- 5.0.101
-