Method MarkAll
MarkAll(ISearch, string, SearchOptions, Regex, bool)
Marks all occurrences of specified string within text content determined by ISearch
object with the bookmarks and moves to the last occurrence.
public virtual int MarkAll(ISearch search, string text, SearchOptions options, Regex expression, bool clearPrevious)
Parameters
search
ISearchISearch
object performs search.text
stringSpecifies text to mark.
options
SearchOptionsSpecifies parameters of search.
expression
RegexRepresents a regular expression to find text.
clearPrevious
boolIndicates whether all unnumbered bookmarks should be removed from the bookmarks collection.
Returns
- int
Number of found occurrences.