Table of Contents

Method FindErrorAt

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

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

When implemented by a class, locates error at specified position.

public virtual 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.