EdGetLineFromPosΒΆ

EdGetLineFromPos returns the line number for the given position.

nLine = EdGetLineFromPos(hEdit, nPos)

Return Value

nLine is the line number.

Parameters

hEdit

Identifies the editor.

nPos

nPos is the position. The position is the number of characters from the beginning of the file.

id-1393186