4 writes to ChildPointer
PresentationFramework (4)
System\Windows\Documents\DocumentSequenceTextPointer.cs (4)
486this.ChildPointer = tp.ChildPointer.CreatePointer(); 1008tpScan.ChildPointer = nextBlock.ChildContainer.Start; 1095thisTp.ChildPointer = childTn; 1099thisTp.ChildPointer = childTn.CreatePointer();
55 references to ChildPointer
PresentationFramework (55)
System\Windows\Documents\DocumentSequence.cs (1)
329childContentPosition = dsTextPointer.ChildPointer as ContentPosition;
System\Windows\Documents\DocumentSequenceTextContainer.cs (4)
749tpChildStart = tsScan.ChildPointer; 754tpChildEnd = tsScan.ChildPointer.TextContainer.End; 774tpChildEnd = tsEnd.ChildPointer; 1026ITextPointer childTp = parentChangePosition.ChildPointer;
System\Windows\Documents\DocumentSequenceTextPointer.cs (41)
478LogicalDirection gravity = this.ChildPointer.LogicalDirection; 480if (this.ChildPointer.TextContainer == tp.ChildPointer.TextContainer) 482this.ChildPointer.MoveToPosition(tp.ChildPointer); 486this.ChildPointer = tp.ChildPointer.CreatePointer(); 487this.ChildPointer.SetLogicalDirection(gravity); 498this.ChildPointer.MoveToElementEdge(edge); 648return thisTp.ChildPointer.GetTextRunLength(direction); 677return thisTp.ChildPointer.GetTextInRun(direction, textBuffer, startIndex, count); 701return tp.ChildPointer.GetElementType(direction); 709return thisTp.ChildPointer.ParentType; 719if (thisTp.ChildPointer.TextContainer == tp.ChildPointer.TextContainer) 721return thisTp.ChildPointer.HasEqualScope(tp.ChildPointer); 724return thisTp.ChildPointer.ParentType == typeof(FixedDocument) && tp.ChildPointer.ParentType == typeof(FixedDocument); 735return thisTp.ChildPointer.GetValue(property); 746return thisTp.ChildPointer.ReadLocalValue(property); 755return thisTp.ChildPointer.GetLocalValueEnumerator(); 760return CreatePointer(thisTp, 0, thisTp.ChildPointer.LogicalDirection); 765return CreatePointer(thisTp, distance, thisTp.ChildPointer.LogicalDirection); 784DocumentSequenceTextPointer newTp = new DocumentSequenceTextPointer(thisTp.ChildBlock, thisTp.ChildPointer.CreatePointer(gravity)); 823bool moved = thisTp.ChildPointer.MoveToNextContextPosition(direction); 847return $"{(thisTp is DocumentSequenceTextPointer ? "DSTP" : "DSTN")} Id={thisTp.DebugId} B={thisTp.ChildBlock.DebugId} G={thisTp.ChildPointer.LogicalDirection}"; 868TextPointerContext context = thisTp.ChildPointer.GetPointerContext(direction); 876ITextPointer pointer = thisTp.ChildPointer; 919return tp.ChildPointer.GetPointerContext(direction); 926return tp.ChildPointer.GetAdjacentElement(direction); 949return thisTp.ChildPointer.CompareTo(tp.ChildPointer); 967if (tp1.ChildPointer.GetPointerContext(LogicalDirection.Forward) != TextPointerContext.None || 968tp2.ChildPointer.GetPointerContext(LogicalDirection.Backward) != TextPointerContext.None) 999DocumentSequenceTextPointer tpScan = new DocumentSequenceTextPointer(tp1.ChildBlock, tp1.ChildPointer); 1003count += tpScan.ChildPointer.GetOffsetToPosition(tpScan.ChildPointer.TextContainer.End); 1010count += tpScan.ChildPointer.GetOffsetToPosition(tp2.ChildPointer); 1026ITextPointer childTn = thisTp.ChildPointer; 1030childTn = 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));