Skip to content

CmText.lineAt method

CmText › lineAt

Unofficial

Get the line at the given position.

Signature:

lineAt(pos: number): Line

Parameters:

Parameter Type Description
pos number The position.

Returns: LineThe line containing the position.