public Xwt.Point LocationToPoint(DocumentLocation location)
 {
     return(textEditorImpl.LocationToPoint(location.Line, location.Column));
 }