4 writes to ChildPointer
PresentationFramework (4)
System\Windows\Documents\DocumentSequenceTextPointer.cs (4)
483this.ChildPointer = tp.ChildPointer.CreatePointer(); 1005tpScan.ChildPointer = nextBlock.ChildContainer.Start; 1092thisTp.ChildPointer = childTn; 1096thisTp.ChildPointer = childTn.CreatePointer();
55 references to ChildPointer
PresentationFramework (55)
System\Windows\Documents\DocumentSequence.cs (1)
320childContentPosition = dsTextPointer.ChildPointer as ContentPosition;
System\Windows\Documents\DocumentSequenceTextContainer.cs (4)
740tpChildStart = tsScan.ChildPointer; 745tpChildEnd = tsScan.ChildPointer.TextContainer.End; 765tpChildEnd = tsEnd.ChildPointer; 1017ITextPointer childTp = parentChangePosition.ChildPointer;
System\Windows\Documents\DocumentSequenceTextPointer.cs (41)
475LogicalDirection gravity = this.ChildPointer.LogicalDirection; 477if (this.ChildPointer.TextContainer == tp.ChildPointer.TextContainer) 479this.ChildPointer.MoveToPosition(tp.ChildPointer); 483this.ChildPointer = tp.ChildPointer.CreatePointer(); 484this.ChildPointer.SetLogicalDirection(gravity); 495this.ChildPointer.MoveToElementEdge(edge); 645return thisTp.ChildPointer.GetTextRunLength(direction); 674return thisTp.ChildPointer.GetTextInRun(direction, textBuffer, startIndex, count); 698return tp.ChildPointer.GetElementType(direction); 706return thisTp.ChildPointer.ParentType; 716if (thisTp.ChildPointer.TextContainer == tp.ChildPointer.TextContainer) 718return thisTp.ChildPointer.HasEqualScope(tp.ChildPointer); 721return thisTp.ChildPointer.ParentType == typeof(FixedDocument) && tp.ChildPointer.ParentType == typeof(FixedDocument); 732return thisTp.ChildPointer.GetValue(property); 743return thisTp.ChildPointer.ReadLocalValue(property); 752return thisTp.ChildPointer.GetLocalValueEnumerator(); 757return CreatePointer(thisTp, 0, thisTp.ChildPointer.LogicalDirection); 762return CreatePointer(thisTp, distance, thisTp.ChildPointer.LogicalDirection); 781DocumentSequenceTextPointer newTp = new DocumentSequenceTextPointer(thisTp.ChildBlock, thisTp.ChildPointer.CreatePointer(gravity)); 820bool moved = thisTp.ChildPointer.MoveToNextContextPosition(direction); 844return $"{(thisTp is not null ? "DSTP" : "DSTN")} Id={thisTp.DebugId} B={thisTp.ChildBlock.DebugId} G={thisTp.ChildPointer.LogicalDirection}"; 865TextPointerContext context = thisTp.ChildPointer.GetPointerContext(direction); 873ITextPointer pointer = thisTp.ChildPointer; 916return tp.ChildPointer.GetPointerContext(direction); 923return tp.ChildPointer.GetAdjacentElement(direction); 946return thisTp.ChildPointer.CompareTo(tp.ChildPointer); 964if (tp1.ChildPointer.GetPointerContext(LogicalDirection.Forward) != TextPointerContext.None || 965tp2.ChildPointer.GetPointerContext(LogicalDirection.Backward) != TextPointerContext.None) 996DocumentSequenceTextPointer tpScan = new DocumentSequenceTextPointer(tp1.ChildBlock, tp1.ChildPointer); 1000count += tpScan.ChildPointer.GetOffsetToPosition(tpScan.ChildPointer.TextContainer.End); 1007count += tpScan.ChildPointer.GetOffsetToPosition(tp2.ChildPointer); 1023ITextPointer childTn = thisTp.ChildPointer; 1027childTn = thisTp.ChildPointer.CreatePointer();
System\Windows\Documents\DocumentSequenceTextView.cs (9)
136return ChildTextView.GetRawRectangleFromTextPosition(tp.ChildPointer.CreatePointer(position.LogicalDirection), out transform); 158return ChildTextView.GetTightBoundingGeometryFromTextPositions(startTp.ChildPointer, endTp.ChildPointer); 219ITextPointer childOTP = ChildTextView.GetPositionAtNextLine(tp.ChildPointer.CreatePointer(position.LogicalDirection), suggestedX, count, out newSuggestedX, out linesMoved); 260return this.ChildTextView.IsAtCaretUnitBoundary(ftp.ChildPointer); 307return this.ChildTextView.GetNextCaretUnitPosition(ftp.ChildPointer, direction); 333return this.ChildTextView.GetBackspaceCaretUnitPosition(ftp.ChildPointer); 365TextSegment childTR = ChildTextView.GetLineRange(tpLine.ChildPointer.CreatePointer(position.LogicalDirection)); 439return ChildTextView.Contains(tp.ChildPointer.CreatePointer(position.LogicalDirection));