27 instantiations of FixedTextPointer
PresentationFramework (27)
System\Windows\Documents\FixedDocument.cs (2)
498
fixedTextPointer = new
FixedTextPointer
(true, LogicalDirection.Forward, flowPosition);
1432
return new
FixedTextPointer
(true, LogicalDirection.Forward, flowPosition);
System\Windows\Documents\FixedFindEngine.cs (12)
151
end = new DocumentSequenceTextPointer(childBlock, new
FixedTextPointer
(false, LogicalDirection.Backward, fixedDoc.FixedContainer.FixedTextBuilder.GetPageEndFlowPosition(translatedPageNumber)));
152
start = new DocumentSequenceTextPointer(childBlock, new
FixedTextPointer
(false, LogicalDirection.Forward, fixedDoc.FixedContainer.FixedTextBuilder.GetPageStartFlowPosition(translatedPageNumber)));
156
start = new DocumentSequenceTextPointer(childBlock, new
FixedTextPointer
(false, LogicalDirection.Forward, fixedDoc.FixedContainer.FixedTextBuilder.GetPageStartFlowPosition(translatedPageNumber)));
157
end = new DocumentSequenceTextPointer(childBlock, new
FixedTextPointer
(false, LogicalDirection.Backward, fixedDoc.FixedContainer.FixedTextBuilder.GetPageEndFlowPosition(translatedPageNumber)));
166
end = new
FixedTextPointer
(false, LogicalDirection.Backward, textBuilder.GetPageEndFlowPosition(pageNumber));
167
start = new
FixedTextPointer
(false, LogicalDirection.Forward, textBuilder.GetPageStartFlowPosition(pageNumber));
171
start = new
FixedTextPointer
(false, LogicalDirection.Forward, textBuilder.GetPageStartFlowPosition(pageNumber));
172
end = new
FixedTextPointer
(false, LogicalDirection.Backward, textBuilder.GetPageEndFlowPosition(pageNumber));
304
new
FixedTextPointer
(false, LogicalDirection.Forward,pageStartFlowPosition));
310
firstSearchPageStart = new
FixedTextPointer
(false, LogicalDirection.Forward, endAsFTP.FixedTextContainer.FixedTextBuilder.GetPageStartFlowPosition(pageNumber));
324
new
FixedTextPointer
(false, LogicalDirection.Backward, pageEndFlowPosition));
330
firstSearchPageEnd = new
FixedTextPointer
(false, LogicalDirection.Backward, startAsFTP.FixedTextContainer.FixedTextBuilder.GetPageEndFlowPosition(pageNumber));
System\Windows\Documents\FixedTextContainer.cs (4)
577
_start = new
FixedTextPointer
(false, LogicalDirection.Backward, new FlowPosition(this, this.FixedTextBuilder.FixedFlowMap.FlowStartEdge, 1));
578
_end = new
FixedTextPointer
(false, LogicalDirection.Forward, new FlowPosition(this, this.FixedTextBuilder.FixedFlowMap.FlowEndEdge, 0));
587
FixedTextPointer eStart = new
FixedTextPointer
(false, LogicalDirection.Backward, pStart);
588
FixedTextPointer eEnd = new
FixedTextPointer
(false, LogicalDirection.Forward, pEnd);
System\Windows\Documents\FixedTextPointer.cs (1)
281
return new
FixedTextPointer
(true, gravity, fp);
System\Windows\Documents\FixedTextView.cs (7)
343
FixedTextPointer nav = new
FixedTextPointer
(true, edge, (FlowPosition)ftp.FlowPosition.Clone());
368
nav = new
FixedTextPointer
(true, scanDir, (FlowPosition)ftp.FlowPosition.Clone());
738
_start = new
FixedTextPointer
(false, LogicalDirection.Forward, flowStart);
751
_end = new
FixedTextPointer
(false, LogicalDirection.Backward, flowEnd);
1102
FixedTextPointer nav = new
FixedTextPointer
(true, textdir, (FlowPosition)ftp.FlowPosition.Clone());
1145
FixedTextPointer nav = new
FixedTextPointer
(true, dir, flowP);
1177
return new
FixedTextPointer
(true, edge, flowHit);
System\Windows\Documents\RubberbandSelector.cs (1)
329
return new
FixedTextPointer
(false, LogicalDirection.Forward, flowHit);
62 references to FixedTextPointer
PresentationFramework (62)
MS\Internal\Documents\MultiPageTextView.cs (1)
772
if (newPosition is DocumentSequenceTextPointer || newPosition is
FixedTextPointer
)
System\Windows\Documents\FixedDocument.cs (5)
401
FixedTextPointer
fixedTextPointer = contentPosition as
FixedTextPointer
;
483
FixedTextPointer
fixedTextPointer = null;
1126
this.FixedContainer.GetMultiHighlights((
FixedTextPointer
)highlightRangeStart.CreateDynamicTextPointer(LogicalDirection.Forward),
1127
(
FixedTextPointer
)highlightTransitionPosition.CreateDynamicTextPointer(LogicalDirection.Forward),
System\Windows\Documents\FixedElement.cs (6)
127
internal FixedElement(ElementType type,
FixedTextPointer
start,
FixedTextPointer
end, int pageIndex)
425
internal
FixedTextPointer
Start
431
internal
FixedTextPointer
End
457
private
FixedTextPointer
_start; // start position for this element
458
private
FixedTextPointer
_end; // end position for this element
System\Windows\Documents\FixedFindEngine.cs (6)
38
((start is
FixedTextPointer
) && (end is
FixedTextPointer
)) );
308
FixedTextPointer
endAsFTP = end as
FixedTextPointer
;
328
FixedTextPointer
startAsFTP = start as
FixedTextPointer
;
System\Windows\Documents\FixedTextContainer.cs (16)
316
internal
FixedTextPointer
VerifyPosition(ITextPointer position)
325
FixedTextPointer
ftp = position as
FixedTextPointer
;
338
FixedTextPointer
fixedTextPointer = textPointer as
FixedTextPointer
;
398
internal void GetMultiHighlights(
FixedTextPointer
start,
FixedTextPointer
end, Dictionary<FixedPage, ArrayList> highlights, FixedHighlightType t,
405
FixedTextPointer
temp = start;
587
FixedTextPointer
eStart = new FixedTextPointer(false, LogicalDirection.Backward, pStart);
588
FixedTextPointer
eEnd = new FixedTextPointer(false, LogicalDirection.Forward, pEnd);
620
FixedTextPointer
pStart = (
FixedTextPointer
)start;
621
FixedTextPointer
pEnd = (
FixedTextPointer
)end;
649
private
FixedTextPointer
_start;
650
private
FixedTextPointer
_end;
System\Windows\Documents\FixedTextPointer.cs (4)
62
FixedTextPointer
ftp = this.FixedTextContainer.VerifyPosition(position);
87
FixedTextPointer
ftp = this.FixedTextContainer.VerifyPosition(position);
180
FixedTextPointer
ftp = this.FixedTextContainer.VerifyPosition(position);
411
FixedTextPointer
ftp = this.FixedTextContainer.VerifyPosition(position);
System\Windows\Documents\FixedTextView.cs (22)
119
DocumentsTrace.FixedTextOM.TextView.Trace($"GetTextPositionFromPoint P{point}, STT={snapToText}, CP={(pos == null ? "null" : ((
FixedTextPointer
)pos).ToString())}");
152
DocumentsTrace.FixedTextOM.TextView.Trace($"GetRectFromTextPosition {(
FixedTextPointer
)position}, {position.LogicalDirection}");
155
FixedTextPointer
ftp = Container.VerifyPosition(position);
181
FixedTextPointer
ftpNext = Container.VerifyPosition(psNext);
243
FixedTextPointer
startftp = this.Container.VerifyPosition(startPosition);
244
FixedTextPointer
endftp = this.Container.VerifyPosition(endPosition);
334
DocumentsTrace.FixedTextOM.TextView.Trace($"FixedTextView.MoveToLine {(
FixedTextPointer
)position}, {position.LogicalDirection}, {suggestedX}, {count}");
342
FixedTextPointer
ftp = Container.VerifyPosition(position);
343
FixedTextPointer
nav = new FixedTextPointer(true, edge, (FlowPosition)ftp.FlowPosition.Clone());
437
FixedTextPointer
ftp = Container.VerifyPosition(position);
508
FixedTextPointer
ftp = Container.VerifyPosition(position);
583
DocumentsTrace.FixedTextOM.TextView.Trace($"GetLineRange {(
FixedTextPointer
)position}, {position.LogicalDirection}");
585
FixedTextPointer
ftp = Container.VerifyPosition(position);
640
FixedTextPointer
tp = Container.VerifyPosition(position);
731
internal
FixedTextPointer
Start
744
internal
FixedTextPointer
End
1079
private bool _GetFixedPosition(
FixedTextPointer
ftp, out FixedPosition fixedp)
1102
FixedTextPointer
nav = new FixedTextPointer(true, textdir, (FlowPosition)ftp.FlowPosition.Clone());
1133
private bool _GetFirstFixedPosition(
FixedTextPointer
ftp, out FixedPosition fixedP)
1145
FixedTextPointer
nav = new FixedTextPointer(true, dir, flowP);
1283
private
FixedTextPointer
_start;
1284
private
FixedTextPointer
_end;
System\windows\Documents\TextEditorSelection.cs (1)
2305
if (!(movingPosition is DocumentSequenceTextPointer || movingPosition is
FixedTextPointer
) &&
System\Windows\Documents\TextFindEngine.cs (1)
129
findContainerStartPosition is
FixedTextPointer
)