lastLine method

int? lastLine()

Get the last line of the editor. This will usually be doc.lineCount() - 1, but for linked sub-views, it might return other values.

Implementation

int? lastLine() => call('lastLine');