Arguments for modified events.
Inheritance: System.EventArgs
Beispiel #1
0
        internal void OnModification(object sender, ModifiedEventArgs e)
        {
            ModifiedEventHandler ev = Modification;

            if (ev != null)
            {
                ev(this, e);
            }
        }
Beispiel #2
0
        private void Plugin_Modification(object sender, ModifiedEventArgs e)
        {
            try
            {
                if (IsProbeLanguage)
                {
                    if (_sidebar != null) _sidebar.OnModified(e);

                    var model = CurrentModel;
                    if (model != null)
                    {
                        model.Tracker.Modify(e.Location, e.Text.Text, e.ModificationType == ModificationType.Insert);
                    }

                    _fileBackground.OnActivity();
                }

                _fileScannerDefer.OnActivity();
            }
            catch (Exception ex)
            {
                Output.WriteLine(OutputStyle.Error, "Exception in Modification event: {0}", ex);
            }
        }
Beispiel #3
0
		public void OnModification(ModifiedEventArgs e)
		{
		}
Beispiel #4
0
 public void OnModified(ModifiedEventArgs e)
 {
     _functionListWait.OnActivity();
 }
Beispiel #5
0
 internal void OnModification(object sender, ModifiedEventArgs e)
 {
     ModifiedEventHandler ev = Modification;
     if (ev != null) ev(this, e);
 }