コード例 #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;
            }
        }
コード例 #2
0
ファイル: Scintilla.cs プロジェクト: dbbotkin/PrimeComm
 private void OnSCNotification(SCNotificationEventArgs e)
 {
     EventHandler<SCNotificationEventArgs> handler = Events[_scNotificationEventKey] as EventHandler<SCNotificationEventArgs>;
     if (handler != null)
         handler(this, e);
 }