Method MarkAll
MarkAll(string, bool)
Marks all occurrences of specified string in the class text content by unnumbered bookmarks and moves to the last occurrence.
public virtual int MarkAll(string text, bool clearPrevious)
Parameters
text
stringSpecifies text to mark.
clearPrevious
boolIndicates whether all unnumbered bookmarks should be removed from the bookmarks collection.
Returns
- int
Number of found occurrences.
MarkAll(string, SearchOptions, bool)
Marks all occurrences of specified string in the class text content by unnumbered bookmarks and moves to the last occurrence.
public virtual int MarkAll(string text, SearchOptions options, bool clearPrevious)
Parameters
text
stringSpecifies text to mark.
options
SearchOptionsSpecifies parameters of search.
clearPrevious
boolIndicates whether all unnumbered bookmarks should be removed from the bookmarks collection.
Returns
- int
Number of found occurrences.
MarkAll(string, SearchOptions, Regex, bool)
Marks all occurrences of specified string in the class text content by unnumbered bookmarks and moves to the last occurrence.
public virtual int MarkAll(string text, SearchOptions options, Regex expression, bool clearPrevious)
Parameters
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.