/// <summary>
        /// Enables extensible context menu support for the specified icon margin.
        /// </summary>
        public static void Add(IconBarMargin margin, DecompilerTextView textView)
        {
            var provider = new IconMarginActionsProvider(margin, textView);

            margin.MouseUp    += provider.HandleMouseEvent;
            margin.ContextMenu = new ContextMenu();
        }
		/// <summary>
		/// Enables extensible context menu support for the specified icon margin.
		/// </summary>
		public static void Add(IconBarMargin margin)
		{
			var provider = new IconMarginActionsProvider(margin);
			margin.MouseUp += provider.HandleMouseEvent;
			margin.ContextMenu = new ContextMenu();
		}