com.borland.primetime.editor
Interface SearchResultsListener
- All Known Implementing Classes:
- SearchManager.SearchListener, SearchManager.SearchPathResultMessage
- public interface SearchResultsListener
- extends java.util.EventListener
The SearchResultsListener interface is implemented by a client who
wishes to listen to the results of a "grep"-type search.
SearchManager.addSearchResultsListener(...)
- See Also:
SearchManager
Method Summary |
void |
matchFound(EditorPane editor,
int line,
int column,
int length,
java.lang.String searchText,
java.lang.String matchLine)
Invoked when a search match is found. |
matchFound
public void matchFound(EditorPane editor,
int line,
int column,
int length,
java.lang.String searchText,
java.lang.String matchLine)
- Invoked when a search match is found.
- Parameters:
line
- The line on which the start of the match was found.column
- The column on which the start of the match was found.length
- The length of the match (important for regular expressions).searchText
- The text that was searched for.matchLine
- The line containing the start of the text which was matched.