Table of Contents

Method FindNext

Namespace
OpenCAD2D
Assembly
OpenCAD2D.Core.dll

FindNext(string, bool)

Finds words after the caret, the search going round to the start, and selects them.

public bool FindNext(string find, bool matchCase)

Parameters

find string

The words.

matchCase bool

Whether capitals must match.

Returns

bool

Whether they were found.

FindNext(string, CadMTextFindOptions)

Finds the next match of words after the selection, or the caret, the search going round to the start, and selects it: Find and Replace's Find Next. A symbol or a stack counts as one place, which no words match.

public bool FindNext(string find, CadMTextFindOptions options)

Parameters

find string

The words, or a wildcard pattern where UseWildcards is set.

options CadMTextFindOptions

How they are matched.

Returns

bool

Whether a match was found; false for no words, or a pattern that cannot be read.

Exceptions

ArgumentNullException

Thrown when the options are null.