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

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