Пример #1
0
 private void ApplyTreeChanges(IEnumerable <EditorTreeChange> changesToApply)
 {
     // Check editor tree reference since document could have been
     // closed before parsing was completed
     if (!_disposed && _editorTree != null)
     {
         if (EditorBuffer != null)
         {
             _editorTree.BufferSnapshot = EditorBuffer.CurrentSnapshot;
         }
         _editorTree.ApplyChanges(changesToApply);
     }
 }