Click or drag to resize

PegErrorGetLineAndCol Method

Gets the line and column that correspond to the specified position.

Namespace: Altaxo.Main.PegParser
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntax
C#
public void GetLineAndCol(
	string s,
	int pos,
	out int lineNo,
	out int colNo
)

Parameters

s  String
The source text.
pos  Int32
The position in the source text.
lineNo  Int32
Receives the line number.
colNo  Int32
Receives the column number.
See Also