5 implementations of CreatePointer
PresentationFramework (5)
System\Windows\Controls\PasswordTextNavigator.cs (1)
328
ITextPointer ITextPointer.
CreatePointer
(LogicalDirection gravity)
System\Windows\Documents\DocumentSequenceTextPointer.cs (1)
194
ITextPointer ITextPointer.
CreatePointer
(LogicalDirection gravity)
System\Windows\Documents\FixedTextPointer.cs (1)
263
ITextPointer ITextPointer.
CreatePointer
(LogicalDirection gravity)
System\Windows\Documents\NullTextNavigator.cs (1)
185
ITextPointer ITextPointer.
CreatePointer
(LogicalDirection gravity)
System\Windows\Documents\TextPointer.cs (1)
2575
ITextPointer ITextPointer.
CreatePointer
(LogicalDirection gravity)
86 references to CreatePointer
PresentationFramework (86)
MS\Internal\Annotations\Anchoring\FixedTextSelectionProcessor.cs (4)
96
ITextPointer startPointer = segment.Start.
CreatePointer
(LogicalDirection.Forward);
103
ITextPointer endPointer = segment.End.
CreatePointer
(LogicalDirection.Backward);
599
start = textView.TextSegments[0].Start.
CreatePointer
(LogicalDirection.Forward);
600
end = textView.TextSegments[textView.TextSegments.Count - 1].End.
CreatePointer
(LogicalDirection.Backward);
MS\Internal\Annotations\Anchoring\TextSelectionHelper.cs (4)
190
IDocumentPaginatorSource content = GetPointerPage(pointer.
CreatePointer
(LogicalDirection.Forward), out pageNumber);
231
return GetAnchorPointForPointer(anchor.Start.
CreatePointer
(LogicalDirection.Forward));
423
ITextPointer start = segment.Start.
CreatePointer
(LogicalDirection.Forward);
424
ITextPointer end = segment.End.
CreatePointer
(LogicalDirection.Backward);
MS\Internal\Annotations\Component\AnnotationHighlightLayer.cs (1)
1103
ITextView parentView = TextSelectionHelper.GetDocumentPageTextView(TopOwner.Range.Start.
CreatePointer
(LogicalDirection.Forward));
MS\Internal\Annotations\Component\MarkedHighlightComponent.cs (3)
655
ITextPointer start = anchor.Start.
CreatePointer
(LogicalDirection.Forward);
656
ITextPointer end = anchor.End.
CreatePointer
(LogicalDirection.Backward);
821
nextPointer = nextPointer.
CreatePointer
(direction == LogicalDirection.Backward ? LogicalDirection.Forward : LogicalDirection.Backward);
MS\Internal\Documents\DocumentGrid.cs (1)
299
tp = tp.
CreatePointer
(LogicalDirection.Forward);
MS\Internal\Documents\DocumentViewerHelper.cs (1)
402
contextMenuPosition = textContainer.TextSelection.Start.
CreatePointer
(LogicalDirection.Forward);
MS\Internal\Documents\TextContainerHelper.cs (2)
448
positionsStart.Insert(0, position.
CreatePointer
(LogicalDirection.Forward));
464
positionsEnd.Insert(0, position.
CreatePointer
(LogicalDirection.Backward));
MS\Internal\Documents\TextDocumentView.cs (10)
765
position = paragraph.StartPosition.
CreatePointer
(LogicalDirection.Forward);
769
position = paragraph.EndPosition.
CreatePointer
(LogicalDirection.Backward);
885
position = paragraph.StartPosition.
CreatePointer
(LogicalDirection.Forward);
889
position = paragraph.EndPosition.
CreatePointer
(LogicalDirection.Backward);
2528
positionOut = lines[lineIndex].StartPosition.
CreatePointer
(LogicalDirection.Forward);
2548
positionOut = lines[0].StartPosition.
CreatePointer
(LogicalDirection.Forward);
2560
positionOut = lines[lines.Count - 1].StartPosition.
CreatePointer
(LogicalDirection.Forward);
3010
positionOut = lines[lineIndex].StartPosition.
CreatePointer
(LogicalDirection.Forward);
3025
positionOut = lines[0].StartPosition.
CreatePointer
(LogicalDirection.Forward);
3037
positionOut = lines[lines.Count - 1].StartPosition.
CreatePointer
(LogicalDirection.Forward);
MS\Internal\Documents\TextParagraphView.cs (1)
178
positionOut = lines[lineIndex].StartPosition.
CreatePointer
(LogicalDirection.Forward);
System\Windows\Controls\PasswordTextContainer.cs (1)
225
return ((ITextPointer)position.Handle0).
CreatePointer
(direction);
System\Windows\Controls\TextAdaptor.cs (4)
620
rangeStart = position.
CreatePointer
(LogicalDirection.Forward);
622
rangeEnd = position.
CreatePointer
(LogicalDirection.Backward);
630
rangeStart = position.
CreatePointer
(LogicalDirection.Forward);
632
rangeEnd = position.
CreatePointer
(LogicalDirection.Backward);
System\Windows\Controls\TextBox.cs (2)
1442
textPointer = (TextPointer)TextEditor.GetTextView(this.RenderScope).GetLineRange(textPointer).Start.
CreatePointer
(textPointer.LogicalDirection);
1471
textPointer = (TextPointer)TextEditor.GetTextView(this.RenderScope).GetLineRange(textPointer).End.
CreatePointer
(textPointer.LogicalDirection);
System\Windows\Controls\TextRangeAdaptor.cs (6)
1673
ITextPointer position = _end.
CreatePointer
(LogicalDirection.Backward);
1684
attrEnd = position.
CreatePointer
(LogicalDirection.Backward);
1691
attrStart = position.
CreatePointer
(LogicalDirection.Forward);
1704
ITextPointer position = _start.
CreatePointer
(LogicalDirection.Forward);
1715
attrStart = position.
CreatePointer
(LogicalDirection.Forward);
1722
attrEnd = position.
CreatePointer
(LogicalDirection.Backward);
System\Windows\Documents\CompositionAdorner.cs (4)
325
ITextPointer rangeStart = start.
CreatePointer
(LogicalDirection.Forward);
326
ITextPointer rangeEnd = end.
CreatePointer
(LogicalDirection.Backward);
604
endLinePointer = textSegment.End.
CreatePointer
(LogicalDirection.Backward);
619
startLinePointer = textSegment.End.
CreatePointer
(LogicalDirection.Forward);
System\Windows\Documents\DocumentSequenceTextContainer.cs (1)
116
return ((ITextPointer)position.Handle0).
CreatePointer
(direction);
System\Windows\Documents\DocumentSequenceTextPointer.cs (5)
192
/// <see cref="ITextPointer.
CreatePointer
(LogicalDirection)"/>
369
ITextPointer positionForwardGravity = ((ITextPointer)this).
CreatePointer
(LogicalDirection.Forward);
784
DocumentSequenceTextPointer newTp = new DocumentSequenceTextPointer(thisTp.ChildBlock, thisTp.ChildPointer.
CreatePointer
(gravity));
1075
cdb.ChildContainer.Start.
CreatePointer
(childTn.LogicalDirection)
1076
: cdb.ChildContainer.End.
CreatePointer
(childTn.LogicalDirection)
System\Windows\Documents\DocumentSequenceTextView.cs (4)
136
return ChildTextView.GetRawRectangleFromTextPosition(tp.ChildPointer.
CreatePointer
(position.LogicalDirection), out transform);
219
ITextPointer childOTP = ChildTextView.GetPositionAtNextLine(tp.ChildPointer.
CreatePointer
(position.LogicalDirection), suggestedX, count, out newSuggestedX, out linesMoved);
365
TextSegment childTR = ChildTextView.GetLineRange(tpLine.ChildPointer.
CreatePointer
(position.LogicalDirection));
439
return ChildTextView.Contains(tp.ChildPointer.
CreatePointer
(position.LogicalDirection));
System\Windows\Documents\FixedTextContainer.cs (1)
100
return ((ITextPointer)position.Handle0).
CreatePointer
(direction);
System\Windows\Documents\FixedTextPointer.cs (2)
261
/// <see cref="ITextPointer.
CreatePointer
(LogicalDirection)"/>
579
ITextPointer positionForwardGravity = ((ITextPointer)this).
CreatePointer
(LogicalDirection.Forward);
System\Windows\Documents\FixedTextView.cs (2)
868
itp = ((ITextPointer)this.Start).
CreatePointer
(LogicalDirection.Forward);
873
itp = ((ITextPointer)this.End).
CreatePointer
(LogicalDirection.Backward);
System\Windows\Documents\ImmComposition.cs (6)
647
ITextPointer startPosition = startNavigator.
CreatePointer
(LogicalDirection.Forward);
648
ITextPointer endPosition = endNavigator.
CreatePointer
(LogicalDirection.Backward);
649
ITextPointer caretPosition = caretNavigator.
CreatePointer
(LogicalDirection.Forward);
769
rectCaret = view.GetRectangleFromTextPosition(_editor.Selection.End.
CreatePointer
(LogicalDirection.Backward));
1535
ITextPointer start = range.Start.
CreatePointer
(LogicalDirection.Backward);
1540
ITextPointer end = start.
CreatePointer
(LogicalDirection.Forward);
System\Windows\Documents\NullTextContainer.cs (1)
93
return ((ITextPointer)position.Handle0).
CreatePointer
(direction);
System\Windows\Documents\NullTextNavigator.cs (1)
183
/// <see cref="ITextPointer.
CreatePointer
(LogicalDirection)"/>
System\windows\Documents\TextEditorContextMenu.cs (1)
198
if (position != null && position.
CreatePointer
(direction).HasValidLayout)
System\windows\Documents\TextEditorSelection.cs (3)
113
ITextPointer lineStart = position.
CreatePointer
(LogicalDirection.Forward);
115
ITextPointer lineEnd = position.
CreatePointer
(LogicalDirection.Backward);
1603
ExtendSelectionAndBringIntoView(lineRange.Start.
CreatePointer
(LogicalDirection.Forward), This);
System\windows\Documents\TextEditorSpelling.cs (1)
184
textStart = spellingError.Start.
CreatePointer
(LogicalDirection.Backward);
System\windows\Documents\TextEditorTyping.cs (1)
1556
ITextPointer caretPosition = This.Selection.End.
CreatePointer
(LogicalDirection.Backward);
System\Windows\Documents\TextPointerBase.cs (2)
880
Rect rect = textView.GetRectangleFromTextPosition(thisPointer.
CreatePointer
(direction));
1107
frozenPointer = thisPointer.
CreatePointer
(logicalDirection);
System\Windows\Documents\TextRangeBase.cs (2)
1373
ITextPointer newEnd = insertPosition.
CreatePointer
(LogicalDirection.Forward);
1378
TextPointer insertionPosition = (TextPointer)newStart.
CreatePointer
(LogicalDirection.Forward);
System\Windows\Documents\TextRangeSerialization.cs (1)
1922
hyperlinkStart = range.Start.
CreatePointer
(LogicalDirection.Forward);
System\windows\Documents\TextSelection.cs (4)
456
caretPosition = caretPosition.
CreatePointer
(direction);
466
ITextPointer reversePosition = caretPosition.
CreatePointer
(direction == LogicalDirection.Forward ? LogicalDirection.Backward : LogicalDirection.Forward);
2275
nextCharacterPosition = focusedTextSelection.Start.
CreatePointer
(LogicalDirection.Forward);
2289
nextCharacterPosition = focusedTextSelection.End.
CreatePointer
(LogicalDirection.Backward);
System\Windows\Documents\TextStore.cs (4)
981
ITextPointer positionCur = position.
CreatePointer
(LogicalDirection.Backward);
982
ITextPointer positionPrev = position.
CreatePointer
(LogicalDirection.Forward);
1913
pointer = this.TextSelection.Start.
CreatePointer
(direction);
3177
ITextPointer navigator = start.
CreatePointer
(LogicalDirection.Forward);