27 instantiations of FixedTextPointer
PresentationFramework (27)
System\Windows\Documents\FixedDocument.cs (2)
498
fixedTextPointer = new
FixedTextPointer
(true, LogicalDirection.Forward, flowPosition);
1431
return new
FixedTextPointer
(true, LogicalDirection.Forward, flowPosition);
System\Windows\Documents\FixedFindEngine.cs (12)
148
end = new DocumentSequenceTextPointer(childBlock, new
FixedTextPointer
(false, LogicalDirection.Backward, fixedDoc.FixedContainer.FixedTextBuilder.GetPageEndFlowPosition(translatedPageNumber)));
149
start = new DocumentSequenceTextPointer(childBlock, new
FixedTextPointer
(false, LogicalDirection.Forward, fixedDoc.FixedContainer.FixedTextBuilder.GetPageStartFlowPosition(translatedPageNumber)));
153
start = new DocumentSequenceTextPointer(childBlock, new
FixedTextPointer
(false, LogicalDirection.Forward, fixedDoc.FixedContainer.FixedTextBuilder.GetPageStartFlowPosition(translatedPageNumber)));
154
end = new DocumentSequenceTextPointer(childBlock, new
FixedTextPointer
(false, LogicalDirection.Backward, fixedDoc.FixedContainer.FixedTextBuilder.GetPageEndFlowPosition(translatedPageNumber)));
163
end = new
FixedTextPointer
(false, LogicalDirection.Backward, textBuilder.GetPageEndFlowPosition(pageNumber));
164
start = new
FixedTextPointer
(false, LogicalDirection.Forward, textBuilder.GetPageStartFlowPosition(pageNumber));
168
start = new
FixedTextPointer
(false, LogicalDirection.Forward, textBuilder.GetPageStartFlowPosition(pageNumber));
169
end = new
FixedTextPointer
(false, LogicalDirection.Backward, textBuilder.GetPageEndFlowPosition(pageNumber));
301
new
FixedTextPointer
(false, LogicalDirection.Forward,pageStartFlowPosition));
307
firstSearchPageStart = new
FixedTextPointer
(false, LogicalDirection.Forward, endAsFTP.FixedTextContainer.FixedTextBuilder.GetPageStartFlowPosition(pageNumber));
321
new
FixedTextPointer
(false, LogicalDirection.Backward, pageEndFlowPosition));
327
firstSearchPageEnd = new
FixedTextPointer
(false, LogicalDirection.Backward, startAsFTP.FixedTextContainer.FixedTextBuilder.GetPageEndFlowPosition(pageNumber));
System\Windows\Documents\FixedTextContainer.cs (4)
569
_start = new
FixedTextPointer
(false, LogicalDirection.Backward, new FlowPosition(this, this.FixedTextBuilder.FixedFlowMap.FlowStartEdge, 1));
570
_end = new
FixedTextPointer
(false, LogicalDirection.Forward, new FlowPosition(this, this.FixedTextBuilder.FixedFlowMap.FlowEndEdge, 0));
579
FixedTextPointer eStart = new
FixedTextPointer
(false, LogicalDirection.Backward, pStart);
580
FixedTextPointer eEnd = new
FixedTextPointer
(false, LogicalDirection.Forward, pEnd);
System\Windows\Documents\FixedTextPointer.cs (1)
279
return new
FixedTextPointer
(true, gravity, fp);
System\Windows\Documents\FixedTextView.cs (7)
340
FixedTextPointer nav = new
FixedTextPointer
(true, edge, (FlowPosition)ftp.FlowPosition.Clone());
365
nav = new
FixedTextPointer
(true, scanDir, (FlowPosition)ftp.FlowPosition.Clone());
733
_start = new
FixedTextPointer
(false, LogicalDirection.Forward, flowStart);
746
_end = new
FixedTextPointer
(false, LogicalDirection.Backward, flowEnd);
1094
FixedTextPointer nav = new
FixedTextPointer
(true, textdir, (FlowPosition)ftp.FlowPosition.Clone());
1137
FixedTextPointer nav = new
FixedTextPointer
(true, dir, flowP);
1169
return new
FixedTextPointer
(true, edge, flowHit);
System\Windows\Documents\RubberbandSelector.cs (1)
328
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;
1128
this.FixedContainer.GetMultiHighlights((
FixedTextPointer
)highlightRangeStart.CreateDynamicTextPointer(LogicalDirection.Forward),
1129
(
FixedTextPointer
)highlightTransitionPosition.CreateDynamicTextPointer(LogicalDirection.Forward),
System\Windows\Documents\FixedElement.cs (6)
127
internal FixedElement(ElementType type,
FixedTextPointer
start,
FixedTextPointer
end, int pageIndex)
431
internal
FixedTextPointer
Start
437
internal
FixedTextPointer
End
463
private
FixedTextPointer
_start; // start position for this element
464
private
FixedTextPointer
_end; // end position for this element
System\Windows\Documents\FixedFindEngine.cs (6)
38
((start is
FixedTextPointer
) && (end is
FixedTextPointer
)) );
305
FixedTextPointer
endAsFTP = end as
FixedTextPointer
;
325
FixedTextPointer
startAsFTP = start as
FixedTextPointer
;
System\Windows\Documents\FixedTextContainer.cs (16)
308
internal
FixedTextPointer
VerifyPosition(ITextPointer position)
317
FixedTextPointer
ftp = position as
FixedTextPointer
;
330
FixedTextPointer
fixedTextPointer = textPointer as
FixedTextPointer
;
390
internal void GetMultiHighlights(
FixedTextPointer
start,
FixedTextPointer
end, Dictionary<FixedPage, ArrayList> highlights, FixedHighlightType t,
397
FixedTextPointer
temp = start;
579
FixedTextPointer
eStart = new FixedTextPointer(false, LogicalDirection.Backward, pStart);
580
FixedTextPointer
eEnd = new FixedTextPointer(false, LogicalDirection.Forward, pEnd);
612
FixedTextPointer
pStart = (
FixedTextPointer
)start;
613
FixedTextPointer
pEnd = (
FixedTextPointer
)end;
641
private
FixedTextPointer
_start;
642
private
FixedTextPointer
_end;
System\Windows\Documents\FixedTextPointer.cs (4)
60
FixedTextPointer
ftp = this.FixedTextContainer.VerifyPosition(position);
85
FixedTextPointer
ftp = this.FixedTextContainer.VerifyPosition(position);
178
FixedTextPointer
ftp = this.FixedTextContainer.VerifyPosition(position);
409
FixedTextPointer
ftp = this.FixedTextContainer.VerifyPosition(position);
System\Windows\Documents\FixedTextView.cs (22)
117
DocumentsTrace.FixedTextOM.TextView.Trace($"GetTextPositionFromPoint P{point}, STT={snapToText}, CP={(pos == null ? "null" : ((
FixedTextPointer
)pos).ToString())}");
150
DocumentsTrace.FixedTextOM.TextView.Trace($"GetRectFromTextPosition {(
FixedTextPointer
)position}, {position.LogicalDirection}");
153
FixedTextPointer
ftp = Container.VerifyPosition(position);
179
FixedTextPointer
ftpNext = Container.VerifyPosition(psNext);
238
FixedTextPointer
startftp = this.Container.VerifyPosition(startPosition);
239
FixedTextPointer
endftp = this.Container.VerifyPosition(endPosition);
331
DocumentsTrace.FixedTextOM.TextView.Trace($"FixedTextView.MoveToLine {(
FixedTextPointer
)position}, {position.LogicalDirection}, {suggestedX}, {count}");
339
FixedTextPointer
ftp = Container.VerifyPosition(position);
340
FixedTextPointer
nav = new FixedTextPointer(true, edge, (FlowPosition)ftp.FlowPosition.Clone());
434
FixedTextPointer
ftp = Container.VerifyPosition(position);
504
FixedTextPointer
ftp = Container.VerifyPosition(position);
578
DocumentsTrace.FixedTextOM.TextView.Trace($"GetLineRange {(
FixedTextPointer
)position}, {position.LogicalDirection}");
580
FixedTextPointer
ftp = Container.VerifyPosition(position);
635
FixedTextPointer
tp = Container.VerifyPosition(position);
726
internal
FixedTextPointer
Start
739
internal
FixedTextPointer
End
1071
private bool _GetFixedPosition(
FixedTextPointer
ftp, out FixedPosition fixedp)
1094
FixedTextPointer
nav = new FixedTextPointer(true, textdir, (FlowPosition)ftp.FlowPosition.Clone());
1125
private bool _GetFirstFixedPosition(
FixedTextPointer
ftp, out FixedPosition fixedP)
1137
FixedTextPointer
nav = new FixedTextPointer(true, dir, flowP);
1272
private
FixedTextPointer
_start;
1273
private
FixedTextPointer
_end;
System\windows\Documents\TextEditorSelection.cs (1)
2305
if (!(movingPosition is DocumentSequenceTextPointer || movingPosition is
FixedTextPointer
) &&
System\Windows\Documents\TextFindEngine.cs (1)
128
findContainerStartPosition is
FixedTextPointer
)