public interface AdjustFinder extends Finder
Modifier and Type | Method and Description |
---|---|
int |
adjustLimitPos(BaseDocument doc,
int limitPos)
Adjust the limit position of the search
(it's the position where the search will end) to be either the same or greater.
|
int |
adjustStartPos(BaseDocument doc,
int startPos)
Adjust start position of the search to be either the same or lower.
|
int adjustStartPos(BaseDocument doc, int startPos)
doc
- document to search onstartPos
- start position originally requested in BaseDocument.find().int adjustLimitPos(BaseDocument doc, int limitPos)
doc
- document to search onlimitPos
- limit position originally requested in BaseDocument.find()