Skip to content

CodeMirrorEditor.lineCount method

CodeMirrorEditor › lineCount

Unofficial

Get the total number of lines in the document.

Signature:

lineCount(): number

Returns: numberThe total number of lines.