[TextEditor] HeightTree is now more robust when invalid lines get
requested (may happen in virtual space).