public static interface SearchPanel.SearchInteraction
| Modifier and Type | Method and Description |
|---|---|
int |
getCaretLocation() |
String |
getTextToSearch() |
void |
highlightAndScrollToResult(TextBlockSearchEditor editor,
TextBlockSearchEditor.SearchResult searchResult)
Highlight and then ensure this result is visible.
|
void |
removeResultHighlights()
Notification to hide your results.
|
void |
searchComplete(TextBlockSearchEditor editor)
Notification that the search was complete and we have results to show to the user.
|
String getTextToSearch()
int getCaretLocation()
void highlightAndScrollToResult(TextBlockSearchEditor editor, TextBlockSearchEditor.SearchResult searchResult)
editor - the editor that was used to searchsearchResult - the specific result (within the editor's search results) to highlight.void searchComplete(TextBlockSearchEditor editor)
void removeResultHighlights()
Copyright © 2013. All rights reserved