Skip to content

CodeMirrorEditor.lineCount method

CodeMirrorEditor › lineCount

Unofficial

Get the total number of lines in the document.

Signature:

lineCount(): number

Returns: number — The total number of lines.