상속: System.EventArgs
예제 #1
0
 void HandleM_textViewBufferChanged(object sender, DocumentChangedEventArgs e)
 {
     if (!m_updating)
     {
         m_updating = true;
         m_model.Text = e.NewText;
         m_updating = false;
     }
     m_textView.DoHighlighting(GetProjectNode());
 }
예제 #2
0
 private void HandleM_modelDocumentChanged(object sender, DocumentChangedEventArgs e)
 {
     if (!m_updating)
     {
         m_updating = true;
         m_textView.OnDocumentChanged(this, e.NewText, GetProjectNode());
         m_updating = false;
     }
 }