4 writes to ChildPointer
PresentationFramework (4)
System\Windows\Documents\DocumentSequenceTextPointer.cs (4)
486
this.
ChildPointer
= tp.ChildPointer.CreatePointer();
1008
tpScan.
ChildPointer
= nextBlock.ChildContainer.Start;
1095
thisTp.
ChildPointer
= childTn;
1099
thisTp.
ChildPointer
= childTn.CreatePointer();
55 references to ChildPointer
PresentationFramework (55)
System\Windows\Documents\DocumentSequence.cs (1)
329
childContentPosition = dsTextPointer.
ChildPointer
as ContentPosition;
System\Windows\Documents\DocumentSequenceTextContainer.cs (4)
749
tpChildStart = tsScan.
ChildPointer
;
754
tpChildEnd = tsScan.
ChildPointer
.TextContainer.End;
774
tpChildEnd = tsEnd.
ChildPointer
;
1026
ITextPointer childTp = parentChangePosition.
ChildPointer
;
System\Windows\Documents\DocumentSequenceTextPointer.cs (41)
478
LogicalDirection gravity = this.
ChildPointer
.LogicalDirection;
480
if (this.
ChildPointer
.TextContainer == tp.
ChildPointer
.TextContainer)
482
this.
ChildPointer
.MoveToPosition(tp.
ChildPointer
);
486
this.ChildPointer = tp.
ChildPointer
.CreatePointer();
487
this.
ChildPointer
.SetLogicalDirection(gravity);
498
this.
ChildPointer
.MoveToElementEdge(edge);
648
return thisTp.
ChildPointer
.GetTextRunLength(direction);
677
return thisTp.
ChildPointer
.GetTextInRun(direction, textBuffer, startIndex, count);
701
return tp.
ChildPointer
.GetElementType(direction);
709
return thisTp.
ChildPointer
.ParentType;
719
if (thisTp.
ChildPointer
.TextContainer == tp.
ChildPointer
.TextContainer)
721
return thisTp.
ChildPointer
.HasEqualScope(tp.
ChildPointer
);
724
return thisTp.
ChildPointer
.ParentType == typeof(FixedDocument) && tp.
ChildPointer
.ParentType == typeof(FixedDocument);
735
return thisTp.
ChildPointer
.GetValue(property);
746
return thisTp.
ChildPointer
.ReadLocalValue(property);
755
return thisTp.
ChildPointer
.GetLocalValueEnumerator();
760
return CreatePointer(thisTp, 0, thisTp.
ChildPointer
.LogicalDirection);
765
return CreatePointer(thisTp, distance, thisTp.
ChildPointer
.LogicalDirection);
784
DocumentSequenceTextPointer newTp = new DocumentSequenceTextPointer(thisTp.ChildBlock, thisTp.
ChildPointer
.CreatePointer(gravity));
823
bool moved = thisTp.
ChildPointer
.MoveToNextContextPosition(direction);
847
return $"{(thisTp is DocumentSequenceTextPointer ? "DSTP" : "DSTN")} Id={thisTp.DebugId} B={thisTp.ChildBlock.DebugId} G={thisTp.
ChildPointer
.LogicalDirection}";
868
TextPointerContext context = thisTp.
ChildPointer
.GetPointerContext(direction);
876
ITextPointer pointer = thisTp.
ChildPointer
;
919
return tp.
ChildPointer
.GetPointerContext(direction);
926
return tp.
ChildPointer
.GetAdjacentElement(direction);
949
return thisTp.
ChildPointer
.CompareTo(tp.
ChildPointer
);
967
if (tp1.
ChildPointer
.GetPointerContext(LogicalDirection.Forward) != TextPointerContext.None ||
968
tp2.
ChildPointer
.GetPointerContext(LogicalDirection.Backward) != TextPointerContext.None)
999
DocumentSequenceTextPointer tpScan = new DocumentSequenceTextPointer(tp1.ChildBlock, tp1.
ChildPointer
);
1003
count += tpScan.
ChildPointer
.GetOffsetToPosition(tpScan.
ChildPointer
.TextContainer.End);
1010
count += tpScan.
ChildPointer
.GetOffsetToPosition(tp2.
ChildPointer
);
1026
ITextPointer childTn = thisTp.
ChildPointer
;
1030
childTn = thisTp.
ChildPointer
.CreatePointer();
System\Windows\Documents\DocumentSequenceTextView.cs (9)
136
return ChildTextView.GetRawRectangleFromTextPosition(tp.
ChildPointer
.CreatePointer(position.LogicalDirection), out transform);
158
return ChildTextView.GetTightBoundingGeometryFromTextPositions(startTp.
ChildPointer
, endTp.
ChildPointer
);
219
ITextPointer childOTP = ChildTextView.GetPositionAtNextLine(tp.
ChildPointer
.CreatePointer(position.LogicalDirection), suggestedX, count, out newSuggestedX, out linesMoved);
260
return this.ChildTextView.IsAtCaretUnitBoundary(ftp.
ChildPointer
);
307
return this.ChildTextView.GetNextCaretUnitPosition(ftp.
ChildPointer
, direction);
333
return this.ChildTextView.GetBackspaceCaretUnitPosition(ftp.
ChildPointer
);
365
TextSegment childTR = ChildTextView.GetLineRange(tpLine.
ChildPointer
.CreatePointer(position.LogicalDirection));
439
return ChildTextView.Contains(tp.
ChildPointer
.CreatePointer(position.LogicalDirection));