Table of Contents

Method Find

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

Find(string)

When implemented by a class, searches for given text within the control's contents.

bool Find(string text)

Parameters

text string

Text to find.

Returns

bool

True if search succeed; otherwise false.

Find(string, SearchOptions)

When implemented by a class, searches for given text within the control's contents with specified options.

bool Find(string text, SearchOptions options)

Parameters

text string

Text to find.

options SearchOptions

Represents options to search text.

Returns

bool

True if search succeed; otherwise false.

Find(string, SearchOptions, Regex)

When implemented by a class, searches for given text within the control's contents with specified options using specified regular expression.

bool Find(string text, SearchOptions options, Regex expression)

Parameters

text string

Text to find.

options SearchOptions

Represents options to search text.

expression Regex

Represents a regular expression to find text.

Returns

bool

True if search succeed; otherwise false.

Find(string, SearchOptions, Regex, IList<IRange>)

When implemented by a class, searches for all occurrences of given text within the control's contents with specified options using specified regular expression.

bool Find(string text, SearchOptions options, Regex expression, IList<IRange> ranges)

Parameters

text string

Text to find.

options SearchOptions

Represents options to search text.

expression Regex

Represents a regular expression to find text.

ranges IList<IRange>

Represents list of ranges determining search results.

Returns

bool

True if search succeed; otherwise false.

Find(string, SearchOptions, Regex, bool, bool)

When implemented by a class, searches for all occurrences of given text within the control's contents with specified options using specified regular expression.

bool Find(string text, SearchOptions options, Regex expression, bool firstSearch, bool silent)

Parameters

text string

Text to find.

options SearchOptions

Represents options to search text.

expression Regex

Represents a regular expression to find text.

firstSearch bool

Specifies if search is performed the first time.

silent bool

Determines if no visual feedback is required.

Returns

bool

True if search succeed; otherwise false.