internal void OnModification(object sender, ModifiedEventArgs e) { ModifiedEventHandler ev = Modification; if (ev != null) { ev(this, e); } }
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); } }
public void OnModification(ModifiedEventArgs e) { }
public void OnModified(ModifiedEventArgs e) { _functionListWait.OnActivity(); }
internal void OnModification(object sender, ModifiedEventArgs e) { ModifiedEventHandler ev = Modification; if (ev != null) ev(this, e); }