Beispiel #1
0
 public int GetCurrentSpan(TextSpan[] pts)
 {
     if (_findTarget != null)
     {
         return(_findTarget.GetCurrentSpan(pts));
     }
     return(VSConstants.E_NOTIMPL);
 }
Beispiel #2
0
        int IVsFindTarget.GetCurrentSpan(TextSpan[] pts)
        {
            IVsFindTarget findTarget = GetView(sourceFrame) as IVsFindTarget;

            if (findTarget != null)
            {
                return(findTarget.GetCurrentSpan(pts));
            }

            return(VSConstants.E_NOTIMPL);
        }