Table of Contents

Method FindErrorAt

Namespace
Alternet.Syntax
Assembly
Alternet.Syntax.v9.dll

FindErrorAt(Point, bool, out int, IComparer<ISyntaxError>)

Locates error at specified position.

bool FindErrorAt(Point position, bool exact, out int index, IComparer<ISyntaxError> comparer)

Parameters

position Point

Position to locate error.

exact bool

Specifies whether search should be precise.

index int

Receives index of syntax error in the error collection.

comparer IComparer<ISyntaxError>

Search criteria.

Returns

bool

True if succeed; otherwise false.