4 writes to ChildPointer
PresentationFramework (4)
System\Windows\Documents\DocumentSequenceTextPointer.cs (4)
492
this.
ChildPointer
= tp.ChildPointer.CreatePointer();
1014
tpScan.
ChildPointer
= nextBlock.ChildContainer.Start;
1101
thisTp.
ChildPointer
= childTn;
1105
thisTp.
ChildPointer
= childTn.CreatePointer();
55 references to ChildPointer
PresentationFramework (55)
System\Windows\Documents\DocumentSequence.cs (1)
333
childContentPosition = dsTextPointer.
ChildPointer
as ContentPosition;
System\Windows\Documents\DocumentSequenceTextContainer.cs (4)
757
tpChildStart = tsScan.
ChildPointer
;
762
tpChildEnd = tsScan.
ChildPointer
.TextContainer.End;
782
tpChildEnd = tsEnd.
ChildPointer
;
1034
ITextPointer childTp = parentChangePosition.
ChildPointer
;
System\Windows\Documents\DocumentSequenceTextPointer.cs (41)
484
LogicalDirection gravity = this.
ChildPointer
.LogicalDirection;
486
if (this.
ChildPointer
.TextContainer == tp.
ChildPointer
.TextContainer)
488
this.
ChildPointer
.MoveToPosition(tp.
ChildPointer
);
492
this.ChildPointer = tp.
ChildPointer
.CreatePointer();
493
this.
ChildPointer
.SetLogicalDirection(gravity);
504
this.
ChildPointer
.MoveToElementEdge(edge);
654
return thisTp.
ChildPointer
.GetTextRunLength(direction);
683
return thisTp.
ChildPointer
.GetTextInRun(direction, textBuffer, startIndex, count);
707
return tp.
ChildPointer
.GetElementType(direction);
715
return thisTp.
ChildPointer
.ParentType;
725
if (thisTp.
ChildPointer
.TextContainer == tp.
ChildPointer
.TextContainer)
727
return thisTp.
ChildPointer
.HasEqualScope(tp.
ChildPointer
);
730
return thisTp.
ChildPointer
.ParentType == typeof(FixedDocument) && tp.
ChildPointer
.ParentType == typeof(FixedDocument);
741
return thisTp.
ChildPointer
.GetValue(property);
752
return thisTp.
ChildPointer
.ReadLocalValue(property);
761
return thisTp.
ChildPointer
.GetLocalValueEnumerator();
766
return CreatePointer(thisTp, 0, thisTp.
ChildPointer
.LogicalDirection);
771
return CreatePointer(thisTp, distance, thisTp.
ChildPointer
.LogicalDirection);
790
DocumentSequenceTextPointer newTp = new DocumentSequenceTextPointer(thisTp.ChildBlock, thisTp.
ChildPointer
.CreatePointer(gravity));
829
bool moved = thisTp.
ChildPointer
.MoveToNextContextPosition(direction);
853
return $"{(thisTp is DocumentSequenceTextPointer ? "DSTP" : "DSTN")} Id={thisTp.DebugId} B={thisTp.ChildBlock.DebugId} G={thisTp.
ChildPointer
.LogicalDirection}";
874
TextPointerContext context = thisTp.
ChildPointer
.GetPointerContext(direction);
882
ITextPointer pointer = thisTp.
ChildPointer
;
925
return tp.
ChildPointer
.GetPointerContext(direction);
932
return tp.
ChildPointer
.GetAdjacentElement(direction);
955
return thisTp.
ChildPointer
.CompareTo(tp.
ChildPointer
);
973
if (tp1.
ChildPointer
.GetPointerContext(LogicalDirection.Forward) != TextPointerContext.None ||
974
tp2.
ChildPointer
.GetPointerContext(LogicalDirection.Backward) != TextPointerContext.None)
1005
DocumentSequenceTextPointer tpScan = new DocumentSequenceTextPointer(tp1.ChildBlock, tp1.
ChildPointer
);
1009
count += tpScan.
ChildPointer
.GetOffsetToPosition(tpScan.
ChildPointer
.TextContainer.End);
1016
count += tpScan.
ChildPointer
.GetOffsetToPosition(tp2.
ChildPointer
);
1032
ITextPointer childTn = thisTp.
ChildPointer
;
1036
childTn = thisTp.
ChildPointer
.CreatePointer();
System\Windows\Documents\DocumentSequenceTextView.cs (9)
144
return ChildTextView.GetRawRectangleFromTextPosition(tp.
ChildPointer
.CreatePointer(position.LogicalDirection), out transform);
166
return ChildTextView.GetTightBoundingGeometryFromTextPositions(startTp.
ChildPointer
, endTp.
ChildPointer
);
227
ITextPointer childOTP = ChildTextView.GetPositionAtNextLine(tp.
ChildPointer
.CreatePointer(position.LogicalDirection), suggestedX, count, out newSuggestedX, out linesMoved);
268
return this.ChildTextView.IsAtCaretUnitBoundary(ftp.
ChildPointer
);
315
return this.ChildTextView.GetNextCaretUnitPosition(ftp.
ChildPointer
, direction);
341
return this.ChildTextView.GetBackspaceCaretUnitPosition(ftp.
ChildPointer
);
373
TextSegment childTR = ChildTextView.GetLineRange(tpLine.
ChildPointer
.CreatePointer(position.LogicalDirection));
447
return ChildTextView.Contains(tp.
ChildPointer
.CreatePointer(position.LogicalDirection));