public virtual void RemoveMarker() { if (marker != null) { marker.Delete(); marker = null; } }
public void Remove(ITextMarker marker) { marker.Delete(); }