// Token: 0x06003D0E RID: 15630 RVA: 0x0011B918 File Offset: 0x00119B18 public override void DoCore() { base.VerifyTreeContentHashCode(); TextPointer navigator = new TextPointer(base.TextContainer, base.SymbolOffset, LogicalDirection.Forward); for (TextTreeDeleteContentUndoUnit.ContentContainer contentContainer = this._content; contentContainer != null; contentContainer = contentContainer.NextContainer) { contentContainer.Do(navigator); } }
// Token: 0x06008609 RID: 34313 RVA: 0x0024B804 File Offset: 0x00249A04 internal override void Do(TextPointer navigator) { TextElement textElement = (TextElement)Activator.CreateInstance(this._elementType); textElement.Reposition(navigator, navigator); navigator.MoveToNextContextPosition(LogicalDirection.Backward); navigator.TextContainer.SetValues(navigator, TextTreeUndoUnit.ArrayToLocalValueEnumerator(this._localValues)); textElement.Resources = this._resources; for (TextTreeDeleteContentUndoUnit.ContentContainer contentContainer = this._childContainer; contentContainer != null; contentContainer = contentContainer.NextContainer) { contentContainer.Do(navigator); } navigator.MoveToNextContextPosition(LogicalDirection.Forward); }