private void scintilla_SCNotification(object sender, SCNotificationEventArgs e) { var scn = e.SCNotification; switch (scn.nmhdr.code) { case NativeMethods.SCN_MODIFIED: ScnModified(scn); break; } }
private void OnSCNotification(SCNotificationEventArgs e) { EventHandler<SCNotificationEventArgs> handler = Events[_scNotificationEventKey] as EventHandler<SCNotificationEventArgs>; if (handler != null) handler(this, e); }