4 writes to ChildPointer
PresentationFramework (4)
src\Framework\System\Windows\Documents\DocumentSequenceTextPointer.cs (4)
496
this.
ChildPointer
= tp.ChildPointer.CreatePointer();
1031
tpScan.
ChildPointer
= nextBlock.ChildContainer.Start;
1118
thisTp.
ChildPointer
= childTn;
1122
thisTp.
ChildPointer
= childTn.CreatePointer();
54 references to ChildPointer
PresentationFramework (54)
src\Framework\System\Windows\Documents\DocumentSequence.cs (1)
353
childContentPosition = dsTextPointer.
ChildPointer
as ContentPosition;
src\Framework\System\Windows\Documents\DocumentSequenceTextContainer.cs (4)
765
tpChildStart = tsScan.
ChildPointer
;
770
tpChildEnd = tsScan.
ChildPointer
.TextContainer.End;
790
tpChildEnd = tsEnd.
ChildPointer
;
1042
ITextPointer childTp = parentChangePosition.
ChildPointer
;
src\Framework\System\Windows\Documents\DocumentSequenceTextPointer.cs (40)
488
LogicalDirection gravity = this.
ChildPointer
.LogicalDirection;
490
if (this.
ChildPointer
.TextContainer == tp.
ChildPointer
.TextContainer)
492
this.
ChildPointer
.MoveToPosition(tp.
ChildPointer
);
496
this.ChildPointer = tp.
ChildPointer
.CreatePointer();
497
this.
ChildPointer
.SetLogicalDirection(gravity);
508
this.
ChildPointer
.MoveToElementEdge(edge);
658
return thisTp.
ChildPointer
.GetTextRunLength(direction);
690
return thisTp.
ChildPointer
.GetTextInRun(direction, textBuffer, startIndex, count);
714
return tp.
ChildPointer
.GetElementType(direction);
722
return thisTp.
ChildPointer
.ParentType;
732
if (thisTp.
ChildPointer
.TextContainer == tp.
ChildPointer
.TextContainer)
734
return thisTp.
ChildPointer
.HasEqualScope(tp.
ChildPointer
);
737
return thisTp.
ChildPointer
.ParentType == typeof(FixedDocument) && tp.
ChildPointer
.ParentType == typeof(FixedDocument);
751
return thisTp.
ChildPointer
.GetValue(property);
765
return thisTp.
ChildPointer
.ReadLocalValue(property);
774
return thisTp.
ChildPointer
.GetLocalValueEnumerator();
779
return CreatePointer(thisTp, 0, thisTp.
ChildPointer
.LogicalDirection);
784
return CreatePointer(thisTp, distance, thisTp.
ChildPointer
.LogicalDirection);
803
DocumentSequenceTextPointer newTp = new DocumentSequenceTextPointer(thisTp.ChildBlock, thisTp.
ChildPointer
.CreatePointer(gravity));
842
bool moved = thisTp.
ChildPointer
.MoveToNextContextPosition(direction);
891
TextPointerContext context = thisTp.
ChildPointer
.GetPointerContext(direction);
899
ITextPointer pointer = thisTp.
ChildPointer
;
942
return tp.
ChildPointer
.GetPointerContext(direction);
949
return tp.
ChildPointer
.GetAdjacentElement(direction);
972
return thisTp.
ChildPointer
.CompareTo(tp.
ChildPointer
);
990
if (tp1.
ChildPointer
.GetPointerContext(LogicalDirection.Forward) != TextPointerContext.None ||
991
tp2.
ChildPointer
.GetPointerContext(LogicalDirection.Backward) != TextPointerContext.None)
1022
DocumentSequenceTextPointer tpScan = new DocumentSequenceTextPointer(tp1.ChildBlock, tp1.
ChildPointer
);
1026
count += tpScan.
ChildPointer
.GetOffsetToPosition(tpScan.
ChildPointer
.TextContainer.End);
1033
count += tpScan.
ChildPointer
.GetOffsetToPosition(tp2.
ChildPointer
);
1049
ITextPointer childTn = thisTp.
ChildPointer
;
1053
childTn = thisTp.
ChildPointer
.CreatePointer();
src\Framework\System\Windows\Documents\DocumentSequenceTextView.cs (9)
150
return ChildTextView.GetRawRectangleFromTextPosition(tp.
ChildPointer
.CreatePointer(position.LogicalDirection), out transform);
172
return ChildTextView.GetTightBoundingGeometryFromTextPositions(startTp.
ChildPointer
, endTp.
ChildPointer
);
233
ITextPointer childOTP = ChildTextView.GetPositionAtNextLine(tp.
ChildPointer
.CreatePointer(position.LogicalDirection), suggestedX, count, out newSuggestedX, out linesMoved);
277
return this.ChildTextView.IsAtCaretUnitBoundary(ftp.
ChildPointer
);
327
return this.ChildTextView.GetNextCaretUnitPosition(ftp.
ChildPointer
, direction);
356
return this.ChildTextView.GetBackspaceCaretUnitPosition(ftp.
ChildPointer
);
388
TextSegment childTR = ChildTextView.GetLineRange(tpLine.
ChildPointer
.CreatePointer(position.LogicalDirection));
462
return ChildTextView.Contains(tp.
ChildPointer
.CreatePointer(position.LogicalDirection));