15 references to TextContainer
PresentationFramework (15)
src\Framework\System\Windows\Documents\TextTreeDeleteContentUndoUnit.cs (3)
82navigator = new TextPointer(this.TextContainer, this.SymbolOffset, LogicalDirection.Forward); 231symbolOffset = textNode.GetSymbolOffset(this.TextContainer.Generation); 250TextTreeText.ReadText(this.TextContainer.RootTextBlock, symbolOffset, count, text, 0 /*startIndex*/);
src\Framework\System\Windows\Documents\TextTreeExtractElementUndoUnit.cs (3)
65start = new TextPointer(this.TextContainer, this.SymbolOffset, LogicalDirection.Forward); 66end = new TextPointer(this.TextContainer, this.SymbolOffset + _symbolCount - 2, LogicalDirection.Forward); 79this.TextContainer.SetValues(end, ArrayToLocalValueEnumerator(_localValues));
src\Framework\System\Windows\Documents\TextTreeInsertElementUndoUnit.cs (4)
58start = new TextPointer(this.TextContainer, this.SymbolOffset, LogicalDirection.Forward); 67end = new TextPointer(this.TextContainer, element.TextElementNode, ElementEdge.AfterEnd); 68this.TextContainer.DeleteContentInternal(start, end); 73this.TextContainer.ExtractElementInternal(element);
src\Framework\System\Windows\Documents\TextTreeInsertUndoUnit.cs (3)
58start = new TextPointer(this.TextContainer, this.SymbolOffset, LogicalDirection.Forward); 59end = new TextPointer(this.TextContainer, this.SymbolOffset + _symbolCount, LogicalDirection.Forward); 61this.TextContainer.DeleteContentInternal(start, end);
src\Framework\System\Windows\Documents\TextTreePropertyUndoUnit.cs (2)
57position = new TextPointer(this.TextContainer, this.SymbolOffset, LogicalDirection.Forward); 63this.TextContainer.SetValue(position, _propertyRecord.Property, _propertyRecord.Value);