Skip to content

Doc.firstLine method

Doc › firstLine

Unofficial

Get the first line of the editor.

Signature:

firstLine(): number

Returns: numberThe number of the first line (usually 0).