Table of Contents

Method MarkAll

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

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 ISearch

ISearch where search starts.

text string

Text to find.

options SearchOptions

Search options.

expression Regex

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.