27 instantiations of FixedTextPointer
PresentationFramework (27)
System\Windows\Documents\FixedDocument.cs (2)
509
fixedTextPointer = new
FixedTextPointer
(true, LogicalDirection.Forward, flowPosition);
1443
return new
FixedTextPointer
(true, LogicalDirection.Forward, flowPosition);
System\Windows\Documents\FixedFindEngine.cs (12)
153
end = new DocumentSequenceTextPointer(childBlock, new
FixedTextPointer
(false, LogicalDirection.Backward, fixedDoc.FixedContainer.FixedTextBuilder.GetPageEndFlowPosition(translatedPageNumber)));
154
start = new DocumentSequenceTextPointer(childBlock, new
FixedTextPointer
(false, LogicalDirection.Forward, fixedDoc.FixedContainer.FixedTextBuilder.GetPageStartFlowPosition(translatedPageNumber)));
158
start = new DocumentSequenceTextPointer(childBlock, new
FixedTextPointer
(false, LogicalDirection.Forward, fixedDoc.FixedContainer.FixedTextBuilder.GetPageStartFlowPosition(translatedPageNumber)));
159
end = new DocumentSequenceTextPointer(childBlock, new
FixedTextPointer
(false, LogicalDirection.Backward, fixedDoc.FixedContainer.FixedTextBuilder.GetPageEndFlowPosition(translatedPageNumber)));
168
end = new
FixedTextPointer
(false, LogicalDirection.Backward, textBuilder.GetPageEndFlowPosition(pageNumber));
169
start = new
FixedTextPointer
(false, LogicalDirection.Forward, textBuilder.GetPageStartFlowPosition(pageNumber));
173
start = new
FixedTextPointer
(false, LogicalDirection.Forward, textBuilder.GetPageStartFlowPosition(pageNumber));
174
end = new
FixedTextPointer
(false, LogicalDirection.Backward, textBuilder.GetPageEndFlowPosition(pageNumber));
306
new
FixedTextPointer
(false, LogicalDirection.Forward,pageStartFlowPosition));
312
firstSearchPageStart = new
FixedTextPointer
(false, LogicalDirection.Forward, endAsFTP.FixedTextContainer.FixedTextBuilder.GetPageStartFlowPosition(pageNumber));
326
new
FixedTextPointer
(false, LogicalDirection.Backward, pageEndFlowPosition));
332
firstSearchPageEnd = new
FixedTextPointer
(false, LogicalDirection.Backward, startAsFTP.FixedTextContainer.FixedTextBuilder.GetPageEndFlowPosition(pageNumber));
System\Windows\Documents\FixedTextContainer.cs (4)
586
_start = new
FixedTextPointer
(false, LogicalDirection.Backward, new FlowPosition(this, this.FixedTextBuilder.FixedFlowMap.FlowStartEdge, 1));
587
_end = new
FixedTextPointer
(false, LogicalDirection.Forward, new FlowPosition(this, this.FixedTextBuilder.FixedFlowMap.FlowEndEdge, 0));
596
FixedTextPointer eStart = new
FixedTextPointer
(false, LogicalDirection.Backward, pStart);
597
FixedTextPointer eEnd = new
FixedTextPointer
(false, LogicalDirection.Forward, pEnd);
System\Windows\Documents\FixedTextPointer.cs (1)
286
return new
FixedTextPointer
(true, gravity, fp);
System\Windows\Documents\FixedTextView.cs (7)
351
FixedTextPointer nav = new
FixedTextPointer
(true, edge, (FlowPosition)ftp.FlowPosition.Clone());
376
nav = new
FixedTextPointer
(true, scanDir, (FlowPosition)ftp.FlowPosition.Clone());
746
_start = new
FixedTextPointer
(false, LogicalDirection.Forward, flowStart);
759
_end = new
FixedTextPointer
(false, LogicalDirection.Backward, flowEnd);
1110
FixedTextPointer nav = new
FixedTextPointer
(true, textdir, (FlowPosition)ftp.FlowPosition.Clone());
1153
FixedTextPointer nav = new
FixedTextPointer
(true, dir, flowP);
1185
return new
FixedTextPointer
(true, edge, flowHit);
System\Windows\Documents\RubberbandSelector.cs (1)
339
return new
FixedTextPointer
(false, LogicalDirection.Forward, flowHit);
62 references to FixedTextPointer
PresentationFramework (62)
MS\Internal\Documents\MultiPageTextView.cs (1)
774
if (newPosition is DocumentSequenceTextPointer || newPosition is
FixedTextPointer
)
System\Windows\Documents\FixedDocument.cs (5)
412
FixedTextPointer
fixedTextPointer = contentPosition as
FixedTextPointer
;
494
FixedTextPointer
fixedTextPointer = null;
1137
this.FixedContainer.GetMultiHighlights((
FixedTextPointer
)highlightRangeStart.CreateDynamicTextPointer(LogicalDirection.Forward),
1138
(
FixedTextPointer
)highlightTransitionPosition.CreateDynamicTextPointer(LogicalDirection.Forward),
System\Windows\Documents\FixedElement.cs (6)
135
internal FixedElement(ElementType type,
FixedTextPointer
start,
FixedTextPointer
end, int pageIndex)
433
internal
FixedTextPointer
Start
439
internal
FixedTextPointer
End
465
private
FixedTextPointer
_start; // start position for this element
466
private
FixedTextPointer
_end; // end position for this element
System\Windows\Documents\FixedFindEngine.cs (6)
40
((start is
FixedTextPointer
) && (end is
FixedTextPointer
)) );
310
FixedTextPointer
endAsFTP = end as
FixedTextPointer
;
330
FixedTextPointer
startAsFTP = start as
FixedTextPointer
;
System\Windows\Documents\FixedTextContainer.cs (16)
325
internal
FixedTextPointer
VerifyPosition(ITextPointer position)
334
FixedTextPointer
ftp = position as
FixedTextPointer
;
347
FixedTextPointer
fixedTextPointer = textPointer as
FixedTextPointer
;
407
internal void GetMultiHighlights(
FixedTextPointer
start,
FixedTextPointer
end, Dictionary<FixedPage, ArrayList> highlights, FixedHighlightType t,
414
FixedTextPointer
temp = start;
596
FixedTextPointer
eStart = new FixedTextPointer(false, LogicalDirection.Backward, pStart);
597
FixedTextPointer
eEnd = new FixedTextPointer(false, LogicalDirection.Forward, pEnd);
629
FixedTextPointer
pStart = (
FixedTextPointer
)start;
630
FixedTextPointer
pEnd = (
FixedTextPointer
)end;
658
private
FixedTextPointer
_start;
659
private
FixedTextPointer
_end;
System\Windows\Documents\FixedTextPointer.cs (4)
67
FixedTextPointer
ftp = this.FixedTextContainer.VerifyPosition(position);
92
FixedTextPointer
ftp = this.FixedTextContainer.VerifyPosition(position);
185
FixedTextPointer
ftp = this.FixedTextContainer.VerifyPosition(position);
416
FixedTextPointer
ftp = this.FixedTextContainer.VerifyPosition(position);
System\Windows\Documents\FixedTextView.cs (22)
127
DocumentsTrace.FixedTextOM.TextView.Trace($"GetTextPositionFromPoint P{point}, STT={snapToText}, CP={(pos == null ? "null" : ((
FixedTextPointer
)pos).ToString())}");
160
DocumentsTrace.FixedTextOM.TextView.Trace($"GetRectFromTextPosition {(
FixedTextPointer
)position}, {position.LogicalDirection}");
163
FixedTextPointer
ftp = Container.VerifyPosition(position);
189
FixedTextPointer
ftpNext = Container.VerifyPosition(psNext);
251
FixedTextPointer
startftp = this.Container.VerifyPosition(startPosition);
252
FixedTextPointer
endftp = this.Container.VerifyPosition(endPosition);
342
DocumentsTrace.FixedTextOM.TextView.Trace($"FixedTextView.MoveToLine {(
FixedTextPointer
)position}, {position.LogicalDirection}, {suggestedX}, {count}");
350
FixedTextPointer
ftp = Container.VerifyPosition(position);
351
FixedTextPointer
nav = new FixedTextPointer(true, edge, (FlowPosition)ftp.FlowPosition.Clone());
445
FixedTextPointer
ftp = Container.VerifyPosition(position);
516
FixedTextPointer
ftp = Container.VerifyPosition(position);
591
DocumentsTrace.FixedTextOM.TextView.Trace($"GetLineRange {(
FixedTextPointer
)position}, {position.LogicalDirection}");
593
FixedTextPointer
ftp = Container.VerifyPosition(position);
648
FixedTextPointer
tp = Container.VerifyPosition(position);
739
internal
FixedTextPointer
Start
752
internal
FixedTextPointer
End
1087
private bool _GetFixedPosition(
FixedTextPointer
ftp, out FixedPosition fixedp)
1110
FixedTextPointer
nav = new FixedTextPointer(true, textdir, (FlowPosition)ftp.FlowPosition.Clone());
1141
private bool _GetFirstFixedPosition(
FixedTextPointer
ftp, out FixedPosition fixedP)
1153
FixedTextPointer
nav = new FixedTextPointer(true, dir, flowP);
1291
private
FixedTextPointer
_start;
1292
private
FixedTextPointer
_end;
System\windows\Documents\TextEditorSelection.cs (1)
2320
if (!(movingPosition is DocumentSequenceTextPointer || movingPosition is
FixedTextPointer
) &&
System\Windows\Documents\TextFindEngine.cs (1)
137
findContainerStartPosition is
FixedTextPointer
)