15 references to TextContainer
PresentationFramework (15)
System\Windows\Documents\TextTreeDeleteContentUndoUnit.cs (3)
76navigator = new TextPointer(this.TextContainer, this.SymbolOffset, LogicalDirection.Forward); 225symbolOffset = textNode.GetSymbolOffset(this.TextContainer.Generation); 244TextTreeText.ReadText(this.TextContainer.RootTextBlock, symbolOffset, count, text, 0 /*startIndex*/);
System\Windows\Documents\TextTreeExtractElementUndoUnit.cs (3)
62start = new TextPointer(this.TextContainer, this.SymbolOffset, LogicalDirection.Forward); 63end = new TextPointer(this.TextContainer, this.SymbolOffset + _symbolCount - 2, LogicalDirection.Forward); 76this.TextContainer.SetValues(end, ArrayToLocalValueEnumerator(_localValues));
System\Windows\Documents\TextTreeInsertElementUndoUnit.cs (4)
55start = new TextPointer(this.TextContainer, this.SymbolOffset, LogicalDirection.Forward); 64end = new TextPointer(this.TextContainer, element.TextElementNode, ElementEdge.AfterEnd); 65this.TextContainer.DeleteContentInternal(start, end); 70this.TextContainer.ExtractElementInternal(element);
System\Windows\Documents\TextTreeInsertUndoUnit.cs (3)
55start = new TextPointer(this.TextContainer, this.SymbolOffset, LogicalDirection.Forward); 56end = new TextPointer(this.TextContainer, this.SymbolOffset + _symbolCount, LogicalDirection.Forward); 58this.TextContainer.DeleteContentInternal(start, end);
System\Windows\Documents\TextTreePropertyUndoUnit.cs (2)
51position = new TextPointer(this.TextContainer, this.SymbolOffset, LogicalDirection.Forward); 57this.TextContainer.SetValue(position, _propertyRecord.Property, _propertyRecord.Value);