4 writes to ChildPointer
PresentationFramework (4)
System\Windows\Documents\DocumentSequenceTextPointer.cs (4)
482this.ChildPointer = tp.ChildPointer.CreatePointer(); 1004tpScan.ChildPointer = nextBlock.ChildContainer.Start; 1091thisTp.ChildPointer = childTn; 1095thisTp.ChildPointer = childTn.CreatePointer();
55 references to ChildPointer
PresentationFramework (55)
System\Windows\Documents\DocumentSequence.cs (1)
319childContentPosition = dsTextPointer.ChildPointer as ContentPosition;
System\Windows\Documents\DocumentSequenceTextContainer.cs (4)
739tpChildStart = tsScan.ChildPointer; 744tpChildEnd = tsScan.ChildPointer.TextContainer.End; 764tpChildEnd = tsEnd.ChildPointer; 1016ITextPointer childTp = parentChangePosition.ChildPointer;
System\Windows\Documents\DocumentSequenceTextPointer.cs (41)
474LogicalDirection gravity = this.ChildPointer.LogicalDirection; 476if (this.ChildPointer.TextContainer == tp.ChildPointer.TextContainer) 478this.ChildPointer.MoveToPosition(tp.ChildPointer); 482this.ChildPointer = tp.ChildPointer.CreatePointer(); 483this.ChildPointer.SetLogicalDirection(gravity); 494this.ChildPointer.MoveToElementEdge(edge); 644return thisTp.ChildPointer.GetTextRunLength(direction); 673return thisTp.ChildPointer.GetTextInRun(direction, textBuffer, startIndex, count); 697return tp.ChildPointer.GetElementType(direction); 705return thisTp.ChildPointer.ParentType; 715if (thisTp.ChildPointer.TextContainer == tp.ChildPointer.TextContainer) 717return thisTp.ChildPointer.HasEqualScope(tp.ChildPointer); 720return thisTp.ChildPointer.ParentType == typeof(FixedDocument) && tp.ChildPointer.ParentType == typeof(FixedDocument); 731return thisTp.ChildPointer.GetValue(property); 742return thisTp.ChildPointer.ReadLocalValue(property); 751return thisTp.ChildPointer.GetLocalValueEnumerator(); 756return CreatePointer(thisTp, 0, thisTp.ChildPointer.LogicalDirection); 761return CreatePointer(thisTp, distance, thisTp.ChildPointer.LogicalDirection); 780DocumentSequenceTextPointer newTp = new DocumentSequenceTextPointer(thisTp.ChildBlock, thisTp.ChildPointer.CreatePointer(gravity)); 819bool moved = thisTp.ChildPointer.MoveToNextContextPosition(direction); 843return $"{(thisTp is not null ? "DSTP" : "DSTN")} Id={thisTp.DebugId} B={thisTp.ChildBlock.DebugId} G={thisTp.ChildPointer.LogicalDirection}"; 864TextPointerContext context = thisTp.ChildPointer.GetPointerContext(direction); 872ITextPointer pointer = thisTp.ChildPointer; 915return tp.ChildPointer.GetPointerContext(direction); 922return tp.ChildPointer.GetAdjacentElement(direction); 945return thisTp.ChildPointer.CompareTo(tp.ChildPointer); 963if (tp1.ChildPointer.GetPointerContext(LogicalDirection.Forward) != TextPointerContext.None || 964tp2.ChildPointer.GetPointerContext(LogicalDirection.Backward) != TextPointerContext.None) 995DocumentSequenceTextPointer tpScan = new DocumentSequenceTextPointer(tp1.ChildBlock, tp1.ChildPointer); 999count += tpScan.ChildPointer.GetOffsetToPosition(tpScan.ChildPointer.TextContainer.End); 1006count += tpScan.ChildPointer.GetOffsetToPosition(tp2.ChildPointer); 1022ITextPointer childTn = thisTp.ChildPointer; 1026childTn = thisTp.ChildPointer.CreatePointer();
System\Windows\Documents\DocumentSequenceTextView.cs (9)
135return ChildTextView.GetRawRectangleFromTextPosition(tp.ChildPointer.CreatePointer(position.LogicalDirection), out transform); 157return ChildTextView.GetTightBoundingGeometryFromTextPositions(startTp.ChildPointer, endTp.ChildPointer); 218ITextPointer childOTP = ChildTextView.GetPositionAtNextLine(tp.ChildPointer.CreatePointer(position.LogicalDirection), suggestedX, count, out newSuggestedX, out linesMoved); 259return this.ChildTextView.IsAtCaretUnitBoundary(ftp.ChildPointer); 306return this.ChildTextView.GetNextCaretUnitPosition(ftp.ChildPointer, direction); 332return this.ChildTextView.GetBackspaceCaretUnitPosition(ftp.ChildPointer); 364TextSegment childTR = ChildTextView.GetLineRange(tpLine.ChildPointer.CreatePointer(position.LogicalDirection)); 438return ChildTextView.Contains(tp.ChildPointer.CreatePointer(position.LogicalDirection));