GetSourcePosition(Int32, out Int32, out Int32) Method

Definition

Namespace Markdig.Parsers
Assembly Markdig.dll

Gets the source position for the specified offset within the current slice.

public int GetSourcePosition(int sliceOffset, scoped out int lineIndex, scoped out int column)

Parameters

sliceOffset
Int32

The slice offset.

lineIndex
Int32

The line index.

column
Int32

The column.

Returns

Int32
The source position