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
positionPointPosition to locate error.
exactboolSpecifies whether search should be precise.
indexintReceives index of syntax error in the error collection.
comparerIComparer<ISyntaxError>Search criteria.
Returns
- bool
True if succeed; otherwise false.