Method GetPositionFromPos
- Namespace
- Alternet.Syntax.Parsers.Roslyn.CodeCompletion
- Assembly
- Alternet.Syntax.Parsers.Roslyn.v9.dll
GetPositionFromPos(SourceText, int)
Converts given pos into Point
coordinate.
public virtual Point GetPositionFromPos(SourceText text, int pos)
Parameters
text
SourceTextSourceText
to process.pos
intAbsolute position to convert.
Returns
- Point
Point
coordinate.