public DocumentLocation PointToLocation(double xp, double yp, bool endAtEol = false)
 {
     return(textEditorImpl.PointToLocation(xp, yp, endAtEol));
 }