Method FindErrorAt
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
PointPosition to locate error.
exact
boolSpecifies whether search should be precise.
index
intReceives index of syntax error in the error collection.
comparer
IComparer<ISyntaxError>Search criteria.
Returns
- bool
True if succeed; otherwise false.