Exemple #1
0
        private void SelectCloneInEditor(Point point)
        {
            CloneIntersection cloneIntersection = FindRerefenceCloneIntersection(point);

            if (cloneIntersection != null)
            {
                Clone clone = cloneIntersection.Clone;
                VSPackage.Instance.SelectCloneInEditor(clone);
            }
        }
Exemple #2
0
 private static Brush GetCloneIntersectonBrush(CloneIntersection cloneIntersection)
 {
     return(_cloneBrushes[cloneIntersection.CloneClassId % _cloneBrushes.Length]);
 }