|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.gjt.sp.jedit.search.SearchMatcher
An abstract class for matching strings.
| Nested Class Summary | |
static class |
SearchMatcher.Match
|
| Field Summary | |
protected SearchMatcher.Match |
returnValue
|
| Constructor Summary | |
SearchMatcher()
|
|
| Method Summary | |
abstract SearchMatcher.Match |
nextMatch(CharIndexed text,
boolean start,
boolean end,
boolean firstTime,
boolean reverse)
Returns the offset of the first match of the specified text within this matcher. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected SearchMatcher.Match returnValue
| Constructor Detail |
public SearchMatcher()
| Method Detail |
public abstract SearchMatcher.Match nextMatch(CharIndexed text,
boolean start,
boolean end,
boolean firstTime,
boolean reverse)
text - The text to search instart - True if the start of the segment is the beginning of the
bufferend - True if the end of the segment is the end of the bufferfirstTime - If false and the search string matched at the start
offset with length zero, automatically find next matchreverse - If true, searching will be performed in a backward
direction.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||