Returns the text of the line at the given index.
String lineAt(int i) { if (i < 0 || i >= lineCount) return ''; return _document.lineAt(i); }