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