| java.lang.Object org.netbeans.editor.FinderFactory org.netbeans.editor.WordMatch
baseWord | char[] baseWord(Code) | | First part of matching word expressed as char[]. Status of word matching
support can be tested by looking if this variable is null. If it is, word
matching was reset and it's not initialized yet.
|
forwardSearch | boolean forwardSearch(Code) | | Current search direction
|
matchCase | boolean matchCase(Code) | | Search with case matching
|
matchOneChar | boolean matchOneChar(Code) | | Whether the match should be reported when word is found which is only one
char long.
|
maxSearchLen | int maxSearchLen(Code) | | Maximum lenght in chars of the search area. If the number is zero, no
search is performed except the static words.
|
previousWord | String previousWord(Code) | | Previous word returned
|
realMatchCase | boolean realMatchCase(Code) | | This is the flag that really says whether the search is matching case or
not. The value is (smartCase ? (is-there-capital-in-base-word?) :
matchCase).
|
searchLen | int searchLen(Code) | | Current count of documents where the search was performed
|
smartCase | boolean smartCase(Code) | | Search using smart case
|
word | char[] word(Code) | | Found characters are accumulated here
|
wordInfoList | ArrayList wordInfoList(Code) | | ArrayList holding already found words and their positions.
|
wordLen | int wordLen(Code) | | Current index in word
|
wordsIndex | int wordsIndex(Code) | | Current index in word match vector. Reaching either first or last index
of vector means searching backward or forward respectively from position
stored in previous vector's element.
|
wrapSearch | boolean wrapSearch(Code) | | Whether the search should be wrapped
|
WordMatch | public WordMatch(EditorUI editorUI)(Code) | | Construct new word match over given view manager
|
clear | public synchronized void clear()(Code) | | Clear word matching, so that it forgots the remembered matching words.
|
find | public int find(int bufferStartPos, char buffer, int offset1, int offset2, int reqPos, int limitPos)(Code) | | |
getMatchWord | public synchronized String getMatchWord(int startPos, boolean forward)(Code) | | Find next matching word and replace it on current cursor position
Parameters: forward - in which direction should the search be done |
reset | public void reset()(Code) | | Reset this finder before each search
|
settingsChange | public void settingsChange(SettingsChangeEvent evt)(Code) | | Called when settings were changed. The method is called by editorUI when
settings were changed and from constructor.
|
|
|