Esempio n. 1
0
        private void scintilla_SCNotification(object sender, SCNotificationEventArgs e)
        {
            var scn = e.SCNotification;

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