3 instantiations of TextTreeTextNode
PresentationFramework (3)
System\Windows\Documents\TextContainer.cs (1)
893textNode = new TextTreeTextNode();
System\Windows\Documents\TextTreeTextNode.cs (2)
89clone = new TextTreeTextNode(); 223newNode = new TextTreeTextNode();
63 references to TextTreeTextNode
PresentationFramework (63)
System\Windows\Documents\TextContainer.cs (25)
507if (node is TextTreeTextNode && nodeOffset > 0 && nodeOffset < node.SymbolCount) 533if (node is TextTreeTextNode) 554TextTreeTextNode textNode; 556textNode = node as TextTreeTextNode; 572if (node is TextTreeTextNode && nodeOffset > 0 && nodeOffset < node.SymbolCount) 590if (node is TextTreeTextNode && nodeOffset > 0 && nodeOffset < node.SymbolCount) 621if (node is TextTreeTextNode && nodeOffset > 0 && nodeOffset < node.SymbolCount) 636TextTreeTextNode nextTextNode = ((direction == LogicalDirection.Forward) ? node.GetNextNode() : node.GetPreviousNode()) as TextTreeTextNode; 819TextTreeTextNode textNode; 848Invariant.Assert(position.Node is TextTreeTextNode); 849Invariant.Assert((position.Edge == ElementEdge.AfterEnd && position.Node.GetPreviousNode() is TextTreeTextNode && position.Node.GetPreviousNode().SymbolCount > 0) || 850(position.Edge == ElementEdge.BeforeStart && position.Node.GetNextNode() is TextTreeTextNode && position.Node.GetNextNode().SymbolCount > 0)); 1344Invariant.Assert(node is TextTreeTextNode); 1350node = ((TextTreeTextNode)node).Split(offset - nodeOffset, ElementEdge.AfterEnd); 1425else if (node is TextTreeTextNode || node is TextTreeObjectNode) 1444Invariant.Assert(node is TextTreeTextNode); 1448node = ((TextTreeTextNode)node).Split(charOffset - nodeCharOffset, ElementEdge.AfterEnd); 2150TextTreeTextNode textNode; 2154textNode = node as TextTreeTextNode; 2178Invariant.Assert(nextNode is TextTreeTextNode); 2180Invariant.Assert(!((TextTreeTextNode)nextNode).AfterEndReferenceCount); 2203Invariant.Assert(previousNode is TextTreeTextNode); 2217Invariant.Assert(nextNode is TextTreeTextNode); 3141Invariant.Assert(clone != null || node is TextTreeTextNode && node.SymbolCount == 0);
System\Windows\Documents\TextPointer.cs (21)
598textNode = ((direction == LogicalDirection.Forward) ? textNode.GetNextNode() : textNode.GetPreviousNode()) as TextTreeTextNode; 772TextTreeTextNode textNode; 1745internal static int GetTextInRun(TextContainer textContainer, int symbolOffset, TextTreeTextNode textNode, int nodeOffset, LogicalDirection direction, char[] textBuffer, int startIndex, int count) 1794textNode = ((direction == LogicalDirection.Forward) ? textNode.GetNextNode() : textNode.GetPreviousNode()) as TextTreeTextNode; 2810internal TextTreeTextNode GetAdjacentTextNodeSibling(LogicalDirection direction) 2812return GetAdjacentSiblingNode(direction) as TextTreeTextNode; 2817internal static TextTreeTextNode GetAdjacentTextNodeSibling(TextTreeNode node, ElementEdge edge, LogicalDirection direction) 2819return GetAdjacentSiblingNode(node, edge, direction) as TextTreeTextNode; 3138startedAdjacentToTextNode = currentNode is TextTreeTextNode; 3155startedAdjacentToTextNode = newNode is TextTreeTextNode; 3156endedAdjacentToTextNode = newNode.GetNextNode() is TextTreeTextNode; 3178endedAdjacentToTextNode = newNode is TextTreeTextNode; 3190startedAdjacentToTextNode = nextNode is TextTreeTextNode; 3203endedAdjacentToTextNode = newNode.GetNextNode() is TextTreeTextNode; 3305startedAdjacentToTextNode = newNode is TextTreeTextNode; 3306endedAdjacentToTextNode = startedAdjacentToTextNode && newNode.GetPreviousNode() is TextTreeTextNode; 3325endedAdjacentToTextNode = newNode is TextTreeTextNode; 3348startedAdjacentToTextNode = newNode is TextTreeTextNode; 3349endedAdjacentToTextNode = startedAdjacentToTextNode && newNode.GetPreviousNode() is TextTreeTextNode; 3381startedAdjacentToTextNode = currentNode is TextTreeTextNode; 4152else if (_node is TextTreeTextNode || _node is TextTreeObjectNode)
System\Windows\Documents\TextTreeDeleteContentUndoUnit.cs (4)
168TextTreeTextNode textNode; 177textNode = node as TextTreeTextNode; 214private TextTreeNode CopyTextNode(TextTreeTextNode textNode, TextTreeNode haltNode, out ContentContainer container) 234textNode = node as TextTreeTextNode;
System\Windows\Documents\TextTreeDumper.cs (1)
192if (node is TextTreeTextNode)
System\Windows\Documents\TextTreeTextNode.cs (12)
83TextTreeTextNode clone; 108TextTreeTextNode node; 109TextTreeTextNode mergeNode; 139mergeNode = node.GetPreviousNode() as TextTreeTextNode; 145mergeNode = node.GetNextNode() as TextTreeTextNode; 188internal TextTreeTextNode Split(int localOffset, ElementEdge edge) 190TextTreeTextNode newNode; 191TextTreeTextNode edgeNode; 489TextTreeTextNode previousNode; 490TextTreeTextNode nextNode; 495previousNode = GetPreviousNode() as TextTreeTextNode; 515nextNode = previousNode.GetNextNode() as TextTreeTextNode;