Skip to content

CodeMirrorEditor.firstLine method

CodeMirrorEditor › firstLine

Unofficial

Get the line number of the first line in the document.

Signature:

firstLine(): number

Returns: numberThe first line number.