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
searchISearchISearch where search starts.
textstringText to find.
optionsSearchOptionsSearch options.
expressionRegexRegular expression to find text.
clearPreviousboolIndicates whether all unnumbered bookmarks should be removed from the bookmarks collection.
Returns
- int
Number of found occurrences.