3 instantiations of TextTreeTextNode
PresentationFramework (3)
src\Framework\System\Windows\Documents\TextContainer.cs (1)
913textNode = new TextTreeTextNode();
src\Framework\System\Windows\Documents\TextTreeTextNode.cs (2)
96clone = new TextTreeTextNode(); 230newNode = new TextTreeTextNode();
62 references to TextTreeTextNode
PresentationFramework (62)
src\Framework\System\Windows\Documents\TextContainer.cs (25)
527if (node is TextTreeTextNode && nodeOffset > 0 && nodeOffset < node.SymbolCount) 553if (node is TextTreeTextNode) 574TextTreeTextNode textNode; 576textNode = node as TextTreeTextNode; 592if (node is TextTreeTextNode && nodeOffset > 0 && nodeOffset < node.SymbolCount) 610if (node is TextTreeTextNode && nodeOffset > 0 && nodeOffset < node.SymbolCount) 641if (node is TextTreeTextNode && nodeOffset > 0 && nodeOffset < node.SymbolCount) 656TextTreeTextNode nextTextNode = ((direction == LogicalDirection.Forward) ? node.GetNextNode() : node.GetPreviousNode()) as TextTreeTextNode; 839TextTreeTextNode textNode; 868Invariant.Assert(position.Node is TextTreeTextNode); 869Invariant.Assert((position.Edge == ElementEdge.AfterEnd && position.Node.GetPreviousNode() is TextTreeTextNode && position.Node.GetPreviousNode().SymbolCount > 0) || 870(position.Edge == ElementEdge.BeforeStart && position.Node.GetNextNode() is TextTreeTextNode && position.Node.GetNextNode().SymbolCount > 0)); 1364Invariant.Assert(node is TextTreeTextNode); 1370node = ((TextTreeTextNode)node).Split(offset - nodeOffset, ElementEdge.AfterEnd); 1445else if (node is TextTreeTextNode || node is TextTreeObjectNode) 1464Invariant.Assert(node is TextTreeTextNode); 1468node = ((TextTreeTextNode)node).Split(charOffset - nodeCharOffset, ElementEdge.AfterEnd); 2170TextTreeTextNode textNode; 2174textNode = node as TextTreeTextNode; 2198Invariant.Assert(nextNode is TextTreeTextNode); 2200Invariant.Assert(!((TextTreeTextNode)nextNode).AfterEndReferenceCount); 2223Invariant.Assert(previousNode is TextTreeTextNode); 2237Invariant.Assert(nextNode is TextTreeTextNode); 3162Invariant.Assert(clone != null || node is TextTreeTextNode && node.SymbolCount == 0);
src\Framework\System\Windows\Documents\TextPointer.cs (21)
614textNode = ((direction == LogicalDirection.Forward) ? textNode.GetNextNode() : textNode.GetPreviousNode()) as TextTreeTextNode; 788TextTreeTextNode textNode; 1764internal static int GetTextInRun(TextContainer textContainer, int symbolOffset, TextTreeTextNode textNode, int nodeOffset, LogicalDirection direction, char[] textBuffer, int startIndex, int count) 1816textNode = ((direction == LogicalDirection.Forward) ? textNode.GetNextNode() : textNode.GetPreviousNode()) as TextTreeTextNode; 2841internal TextTreeTextNode GetAdjacentTextNodeSibling(LogicalDirection direction) 2843return GetAdjacentSiblingNode(direction) as TextTreeTextNode; 2848internal static TextTreeTextNode GetAdjacentTextNodeSibling(TextTreeNode node, ElementEdge edge, LogicalDirection direction) 2850return GetAdjacentSiblingNode(node, edge, direction) as TextTreeTextNode; 3169startedAdjacentToTextNode = currentNode is TextTreeTextNode; 3186startedAdjacentToTextNode = newNode is TextTreeTextNode; 3187endedAdjacentToTextNode = newNode.GetNextNode() is TextTreeTextNode; 3209endedAdjacentToTextNode = newNode is TextTreeTextNode; 3221startedAdjacentToTextNode = nextNode is TextTreeTextNode; 3234endedAdjacentToTextNode = newNode.GetNextNode() is TextTreeTextNode; 3336startedAdjacentToTextNode = newNode is TextTreeTextNode; 3337endedAdjacentToTextNode = startedAdjacentToTextNode && newNode.GetPreviousNode() is TextTreeTextNode; 3356endedAdjacentToTextNode = newNode is TextTreeTextNode; 3379startedAdjacentToTextNode = newNode is TextTreeTextNode; 3380endedAdjacentToTextNode = startedAdjacentToTextNode && newNode.GetPreviousNode() is TextTreeTextNode; 3412startedAdjacentToTextNode = currentNode is TextTreeTextNode; 4183else if (_node is TextTreeTextNode || _node is TextTreeObjectNode)
src\Framework\System\Windows\Documents\TextTreeDeleteContentUndoUnit.cs (4)
176TextTreeTextNode textNode; 185textNode = node as TextTreeTextNode; 222private TextTreeNode CopyTextNode(TextTreeTextNode textNode, TextTreeNode haltNode, out ContentContainer container) 242textNode = node as TextTreeTextNode;
src\Framework\System\Windows\Documents\TextTreeTextNode.cs (12)
90TextTreeTextNode clone; 115TextTreeTextNode node; 116TextTreeTextNode mergeNode; 146mergeNode = node.GetPreviousNode() as TextTreeTextNode; 152mergeNode = node.GetNextNode() as TextTreeTextNode; 195internal TextTreeTextNode Split(int localOffset, ElementEdge edge) 197TextTreeTextNode newNode; 198TextTreeTextNode edgeNode; 496TextTreeTextNode previousNode; 497TextTreeTextNode nextNode; 502previousNode = GetPreviousNode() as TextTreeTextNode; 522nextNode = previousNode.GetNextNode() as TextTreeTextNode;