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()); }
internal IWpfTextViewLine GetVisibleLine(IGlyphTextMarkerImpl marker) { if (marker == null) { throw new ArgumentNullException(nameof(marker)); } var methodMarker = marker as IGlyphTextMethodMarkerImpl; if (methodMarker != null) { return(GetVisibleLine(methodMarker)); } Debug.Fail("Unknown marker type: " + marker.GetType()); return(null); }
internal IWpfTextViewLine GetVisibleLine(IGlyphTextMarkerImpl marker) { if (marker == null) throw new ArgumentNullException(nameof(marker)); var methodMarker = marker as IGlyphTextMethodMarkerImpl; if (methodMarker != null) return GetVisibleLine(methodMarker); Debug.Fail("Unknown marker type: " + marker.GetType()); return null; }
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()); }