Skip to content

CmText.lineAt method

CmText › lineAt

Unofficial

Get the line at the given position.

Signature:

lineAt(pos: number): Line

Parameters:

ParameterTypeDescription
posnumberThe position.

Returns: Line — The line containing the position.