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