private void pushNewLine() { endLine = new TextLine(endLine.end(), endLine.index() + 1); lines.add(endLine); }
public int length() { return endLine.end(); }