private static MarkType GetMarkType(IVsVisibleTextMarkerTag tag) { tag.MarkerType.GetDisplayName(out string name); if (name.StartsWith("Breakpoint")) { return(MarkType.Breakpoint); } if (name.StartsWith("Tracepoint")) { return(MarkType.Tracepoint); } if (name.StartsWith("Bookmark")) { return(MarkType.Bookmark); } return(MarkType.Unknown); }
private Mark(IMappingTagSpan <IVsVisibleTextMarkerTag> tag) { _tag = tag.Tag; _position = tag.Span.Start; }