Exemple #1
0
        void Refresh(IGlyphTextMarkerImpl marker)
        {
            if (!marker.TextViewFilter(TextView))
            {
                return;
            }

            var span = GetSnapshotSpan(marker);

            if (span == null)
            {
                return;
            }
            Refresh(marker, span.Value);
        }
Exemple #2
0
        void Refresh(IGlyphTextMarkerImpl marker)
        {
            if (!marker.TextViewFilter(TextView))
            {
                return;
            }
            var methodMarker = marker as IGlyphTextMethodMarkerImpl;

            if (methodMarker != null)
            {
                Refresh(methodMarker);
                return;
            }

            Debug.Fail("Unknown marker type: " + marker.GetType());
        }
		void Refresh(IGlyphTextMarkerImpl marker) {
			if (!marker.TextViewFilter(TextView))
				return;
			var methodMarker = marker as IGlyphTextMethodMarkerImpl;
			if (methodMarker != null) {
				Refresh(methodMarker);
				return;
			}

			Debug.Fail("Unknown marker type: " + marker.GetType());
		}