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