Table of Contents

Method MarkAll

Namespace
Alternet.Editor
Assembly
Alternet.Editor.v9.dll

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 ISearch

ISearch object performs search.

text string

Specifies text to mark.

options SearchOptions

Specifies parameters of search.

expression Regex

Represents a regular expression to find text.

clearPrevious bool

Indicates whether all unnumbered bookmarks should be removed from the bookmarks collection.

Returns

int

Number of found occurrences.