Returns the text of the line at the given index.
String lineAt(int i) { if (i < 0 || i >= _lines.length) return ''; return _lines[i].join(); }