Skip to content

CodeMirrorEditor.lastLine method

CodeMirrorEditor › lastLine

Unofficial

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

Signature:

lastLine(): number

Returns: numberThe last line number.