@API(type=NOT_EXTENDABLE,
src=PUBLIC)
public interface FindReplaceSupport
Please note that this API is not marked as final and it can change in one of the next versions of the application. If you have suggestions, comments about it, please let us know.
Modifier and Type | Method and Description |
---|---|
AuthorHighlighter |
getSearchHighlightsProvider(java.lang.String searchFor)
Returns the highlights of the occurrences of the current string.
|
void |
replace(int[] selectionOffsets,
java.lang.String textToReplaceWith)
Replace the occurrence found between the specified offsets.
|
void |
replaceAll(java.lang.String textToFind,
java.lang.String textToReplaceWith)
Replaces all the occurrences of some text with another.
|
AuthorHighlighter getSearchHighlightsProvider(java.lang.String searchFor)
searchFor
- The string to search for.void replaceAll(java.lang.String textToFind, java.lang.String textToReplaceWith)
textToFind
- The text to search for.textToReplaceWith
- The text to replace with.void replace(int[] selectionOffsets, java.lang.String textToReplaceWith)
selectionOffsets
- The offsets.textToReplaceWith
- The replacement text.© Copyright SyncRO Soft SRL 2002 - 2015. All rights reserved.