Sets the line at the specified index to the given value.
String setLineAt(int index, String value) { final l = lines.toList(); l[index] = value; lines = l; return text; }