public virtual int GetCharIndexFromPosition(Point pt) { return((int)m_helper.TextView.CharacterIndex(Util.PointToNSPoint(pt))); }
internal virtual char GetCharFromPositionInternal(Point p) { var index = m_helper.TextView.CharacterIndex(Util.PointToNSPoint(p)); return(m_helper.TextView.Value[(int)index]); }