GlyphTextMarkerToolTip IGlyphTextMarkerHandler.GetToolTipContent(IGlyphTextMarkerHandlerContext context, IGlyphTextMarker marker) { var ilbp = GlyphTextMarkerHelper.ToILCodeBreakpoint(marker); return(new GlyphTextMarkerToolTip(GetToolTipContent(ilbp, context.TextView))); }
IEnumerable <GuidObject> IGlyphTextMarkerHandler.GetContextMenuObjects(IGlyphTextMarkerHandlerContext context, IGlyphTextMarker marker, Point marginRelativePoint) { var ilbp = GlyphTextMarkerHelper.ToILCodeBreakpoint(marker); yield return(new GuidObject(MenuConstants.GUIDOBJ_BREAKPOINT_GUID, ilbp)); }
void UpdateMarker(ILCodeBreakpoint ilbp) { RemoveMarker(ilbp); var info = GetBreakpointMarkerInfo(ilbp); var marker = glyphTextMarkerService.AddMarker(ilbp.MethodToken, ilbp.ILOffset, info.ImageReference, info.MarkerTypeName, info.SelectedMarkerTypeName, info.ClassificationType, info.ZIndex, GlyphTextMarkerHelper.GetTag(ilbp), ilCodeBreakpointGlyphTextMarkerHandler, textViewFilter); toMethodMarkers.Add(ilbp, marker); }