示例#1
0
        internal bool Collect(bool dispose)
        {
            DropMarkerCollectEventArgs e = new DropMarkerCollectEventArgs(this);

            Scintilla.OnDropMarkerCollect(e);

            if (e.Cancel)
            {
                return(false);
            }

            GotoStart();

            if (dispose)
            {
                Dispose();
            }

            return(true);
        }
示例#2
0
 protected internal virtual void OnDropMarkerCollect(DropMarkerCollectEventArgs e)
 {
     if (Events[_dropMarkerCollectEventKey] != null)
         ((EventHandler<DropMarkerCollectEventArgs>)Events[_dropMarkerCollectEventKey])(this, e);
 }