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