Method MarkAll
MarkAll(ISearch, string, SearchOptions, Regex, bool)
Marks all occurrences of specified string found by specified parameters.
public virtual int MarkAll(ISearch search, string text, SearchOptions options, Regex expression, bool clearPrevious)
Parameters
search
ISearchISearch where search starts.
text
stringText to find.
options
SearchOptionsSearch options.
expression
RegexRegular expression to find text.
clearPrevious
boolIndicates whether all unnumbered bookmarks should be removed from the bookmarks collection.
Returns
- int
Number of found occurrences.