Skip to content

Editor.lastLine method

Editor › lastLine

Official

Get the index of the last line (0-indexed).

Signature:

lastLine(): number

Returns: numberThe index of the last line.

Since: 0.11.11