Beispiel #1
0
 void IGlyphTextViewMarkerService.SetMethodOffsetSpanMap(IMethodOffsetSpanMap map)
 {
     if (methodOffsetSpanMap == map)
     {
         return;
     }
     methodOffsetSpanMap = map;
     if (markerAndSpanCollection.Count != 0)
     {
         markerAndSpanCollection.UpdateSpans(methodOffsetSpanMap);
         InvalidateEverything();
     }
 }
Beispiel #2
0
 void IGlyphTextViewMarkerService.SetDotNetSpanMap(IDotNetSpanMap map)
 {
     if (dotNetSpanMap == map)
     {
         return;
     }
     dotNetSpanMap = map as IDotNetSpanMap;
     Debug.Assert((map == null) == (dotNetSpanMap == null));
     if (markerAndSpanCollection.Count != 0)
     {
         markerAndSpanCollection.UpdateSpans(dotNetSpanMap);
         InvalidateEverything();
     }
 }