Table of Contents

Method GetPosFromPosition

Namespace
Alternet.Syntax.Parsers.Roslyn
Assembly
Alternet.Syntax.Parsers.Roslyn.v9.dll

GetPosFromPosition(SourceText, Point)

When implemented by a class, converts given position into absolute text coordinate.

int GetPosFromPosition(SourceText text, Point position)

Parameters

text SourceText

SourceText to process.

position Point

Point to convert.

Returns

int

Absolute position.