OnDropMarkerCollect() protected method

Raises the DropMarkerCollect event.
protected OnDropMarkerCollect ( DropMarkerCollectEventArgs e ) : void
e DropMarkerCollectEventArgs An that contains the event data.
return void
Exemplo n.º 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);
        }