Table of Contents

Method MarkAll

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

MarkAll(string, bool)

When implemented by a class, marks all occurrences of specified string in the class text content by unnumbered bookmarks and moves to the last occurrence.

int MarkAll(string text, bool clearPrevious)

Parameters

text string

Specifies text to mark.

clearPrevious bool

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

Returns

int

Number of found occurrences.

MarkAll(string, SearchOptions, bool)

When implemented by a class, marks all occurrences of specified string in the class text content by unnumbered bookmarks and moves to the last occurrence.

int MarkAll(string text, SearchOptions options, bool clearPrevious)

Parameters

text string

Specifies text to mark.

options SearchOptions

Specifies parameters of search.

clearPrevious bool

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

Returns

int

Number of found occurrences.

MarkAll(string, SearchOptions, Regex, bool)

When implemented by a class, marks all occurrences of specified string in the class text content by unnumbered bookmarks and moves to the last occurrence.

int MarkAll(string text, SearchOptions options, Regex expression, bool clearPrevious)

Parameters

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.