private void ProcessChange(TextChangeContext context) { _editorTree.FireOnUpdateBegin(); if (_pendingChanges.IsSimpleChange) { ProcessSimpleChange(context); } else { ProcessComplexChange(context); } }