System\Windows\Documents\TextContainer.cs (20)
640edge = (direction == LogicalDirection.Backward) ? ElementEdge.BeforeStart : ElementEdge.AfterEnd;
849(position.Edge == ElementEdge.BeforeStart && position.Node.GetNextNode() is TextTreeTextNode && position.Node.GetNextNode().SymbolCount > 0));
867if (position.Edge == ElementEdge.BeforeStart || position.Edge == ElementEdge.BeforeEnd)
1109startEdgePosition = new TextPointer(this, elementNode, ElementEdge.BeforeStart);
1204insertPosition = new TextPointer(this, objectNode, ElementEdge.BeforeStart);
1310edge = ElementEdge.BeforeStart;
1345edge = ElementEdge.BeforeStart;
1381edge = ElementEdge.BeforeStart;
1408edge = ElementEdge.BeforeStart;
1422edge = ElementEdge.BeforeStart;
1442edge = ElementEdge.BeforeStart;
2181else if (edge == ElementEdge.BeforeStart)
2327nextEdge = ElementEdge.BeforeStart;
2569firstContainedNode = firstContainedNode.IncrementReferenceCount(ElementEdge.BeforeStart, extractedElementNode.BeforeStartReferenceCount);
2607case ElementEdge.BeforeStart:
2629case ElementEdge.BeforeStart:
2763startPosition = new TextPointer(this, elementNode, ElementEdge.BeforeStart, LogicalDirection.Backward);
2961nextEdge = ElementEdge.BeforeStart;
3403TextPointer startEdgePosition = new TextPointer(this, node, ElementEdge.BeforeStart);
3415TextPointer startEdgePosition = new TextPointer(this, node, ElementEdge.BeforeStart);