Method GetRangeAt
- Namespace
- Alternet.Syntax.Parsers.Roslyn.CodeCompletion
- Assembly
- Alternet.Syntax.Parsers.Roslyn.v10.dll
GetRangeAt(Point)
Gets IRange that contains given position.
public virtual IRange GetRangeAt(Point position)
Parameters
positionPointPosition to find range.
Returns
- IRange
IRangeat specified position.
GetRangeAt(Point, IList<IRange>)
Gets IRange that contains given position.
public virtual IRange GetRangeAt(Point position, IList<IRange> ranges)
Parameters
positionPointPosition to find range.
rangesIList<IRange>List of begin/end blocks at the given position.
Returns
- IRange
IRangeat specified position.