Method GetRangeAt
GetRangeAt(Point)
When implemented by a class, gets IRange
that corresponds to the specified position.
IRange GetRangeAt(Point position)
Parameters
position
PointPosition to find range.
Returns
- IRange
IRange
at specified position.
GetRangeAt(Point, IList<IRange>)
When implemented by a class, gets IRange
that contains given position.
IRange GetRangeAt(Point position, IList<IRange> ranges)
Parameters
position
PointPosition to find range.
ranges
IList<IRange>List of begin/end blocks at the given position.
Returns
- IRange
IRange
at specified position.