예제 #1
0
 public virtual int GetCharIndexFromPosition(Point pt)
 {
     return((int)m_helper.TextView.CharacterIndex(Util.PointToNSPoint(pt)));
 }
예제 #2
0
        internal virtual char GetCharFromPositionInternal(Point p)
        {
            var index = m_helper.TextView.CharacterIndex(Util.PointToNSPoint(p));

            return(m_helper.TextView.Value[(int)index]);
        }