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()); }
private void HandleM_modelDocumentChanged(object sender, DocumentChangedEventArgs e) { if (!m_updating) { m_updating = true; m_textView.OnDocumentChanged(this, e.NewText, GetProjectNode()); m_updating = false; } }