-
public interface FindableInterface used to support find and match features
-
-
Method Summary
Modifier and Type Method Description abstract List<Token>findMatches(String regex)Find all the the tokens that matches the regex string and save them on a list abstract TokenfindNextMatch()Highlight and return the next token abstract TokenfindPrevMatch()Highlight and return the previous token abstract voidclearMatches()Clear all the matches tokens -
-
Method Detail
-
findMatches
abstract List<Token> findMatches(String regex)
Find all the the tokens that matches the regex string and save them on a list
- Parameters:
regex- The regex used to find tokens
-
findNextMatch
abstract Token findNextMatch()
Highlight and return the next token
-
findPrevMatch
abstract Token findPrevMatch()
Highlight and return the previous token
-
clearMatches
abstract void clearMatches()
Clear all the matches tokens
-
-
-
-