28 references to GetPreviousNode
PresentationFramework (28)
System\Windows\Documents\SplayTreeNode.cs (1)
408leftSubTree = insertBefore ? location.GetPreviousNode() : location;
System\Windows\Documents\TextContainer.cs (9)
636TextTreeTextNode nextTextNode = ((direction == LogicalDirection.Forward) ? node.GetNextNode() : node.GetPreviousNode()) as TextTreeTextNode; 849Invariant.Assert((position.Edge == ElementEdge.AfterEnd && position.Node.GetPreviousNode() is TextTreeTextNode && position.Node.GetPreviousNode().SymbolCount > 0) || 2181Invariant.Assert(textNode.GetPreviousNode() == null || textNode.GetPreviousNode().SymbolCount > 0, "Found three consecutive zero-width text nodes! (1)"); 2200previousNode = textNode.GetPreviousNode(); 2630leftSubTree = startPosition.Node.GetPreviousNode(); 2684middleSubTree = rightSubTree.GetPreviousNode(); 2981previousNode = (TextTreeNode)elementNode.GetPreviousNode();
System\Windows\Documents\TextElement.cs (1)
1445TextTreeTextElementNode node = _textElementNode.GetPreviousNode() as TextTreeTextElementNode;
System\Windows\Documents\TextPointer.cs (10)
598textNode = ((direction == LogicalDirection.Forward) ? textNode.GetNextNode() : textNode.GetPreviousNode()) as TextTreeTextNode; 1794textNode = ((direction == LogicalDirection.Forward) ? textNode.GetNextNode() : textNode.GetPreviousNode()) as TextTreeTextNode; 2202newNode = _node.GetPreviousNode(); 2876sibling = node.GetPreviousNode(); 3293newNode = currentNode.GetPreviousNode(); 3306endedAdjacentToTextNode = startedAdjacentToTextNode && newNode.GetPreviousNode() is TextTreeTextNode; 3322newNode = currentNode.GetPreviousNode(); 3349endedAdjacentToTextNode = startedAdjacentToTextNode && newNode.GetPreviousNode() is TextTreeTextNode; 3490previousNode = (TextTreeNode)node.GetPreviousNode(); 3998newNode = node.GetPreviousNode();
System\Windows\Documents\TextTreeText.cs (4)
125lastRemoveBlock = lastBlock.GetPreviousNode(); 246TextTreeTextBlock previousBlock = (TextTreeTextBlock)node.GetPreviousNode(); 278neighborBlock = (TextTreeTextBlock)rightBlock.GetPreviousNode(); 396leftTree = firstNode.GetPreviousNode();
System\Windows\Documents\TextTreeTextNode.cs (3)
139mergeNode = node.GetPreviousNode() as TextTreeTextNode; 206previousNode = (TextTreeNode)GetPreviousNode(); 495previousNode = GetPreviousNode() as TextTreeTextNode;