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