5 implementations of CreatePointer
PresentationFramework (5)
src\Framework\System\Windows\Controls\PasswordTextNavigator.cs (1)
334
ITextPointer ITextPointer.
CreatePointer
(LogicalDirection gravity)
src\Framework\System\Windows\Documents\DocumentSequenceTextPointer.cs (1)
204
ITextPointer ITextPointer.
CreatePointer
(LogicalDirection gravity)
src\Framework\System\Windows\Documents\FixedTextPointer.cs (1)
283
ITextPointer ITextPointer.
CreatePointer
(LogicalDirection gravity)
src\Framework\System\Windows\Documents\NullTextNavigator.cs (1)
190
ITextPointer ITextPointer.
CreatePointer
(LogicalDirection gravity)
src\Framework\System\Windows\Documents\TextPointer.cs (1)
2606
ITextPointer ITextPointer.
CreatePointer
(LogicalDirection gravity)
86 references to CreatePointer
PresentationFramework (86)
src\Framework\MS\Internal\Annotations\Anchoring\FixedTextSelectionProcessor.cs (4)
110
ITextPointer startPointer = segment.Start.
CreatePointer
(LogicalDirection.Forward);
117
ITextPointer endPointer = segment.End.
CreatePointer
(LogicalDirection.Backward);
626
start = textView.TextSegments[0].Start.
CreatePointer
(LogicalDirection.Forward);
627
end = textView.TextSegments[textView.TextSegments.Count - 1].End.
CreatePointer
(LogicalDirection.Backward);
src\Framework\MS\Internal\Annotations\Anchoring\TextSelectionHelper.cs (4)
205
IDocumentPaginatorSource content = GetPointerPage(pointer.
CreatePointer
(LogicalDirection.Forward), out pageNumber);
247
return GetAnchorPointForPointer(anchor.Start.
CreatePointer
(LogicalDirection.Forward));
442
ITextPointer start = segment.Start.
CreatePointer
(LogicalDirection.Forward);
443
ITextPointer end = segment.End.
CreatePointer
(LogicalDirection.Backward);
src\Framework\MS\Internal\Annotations\Component\AnnotationHighlightLayer.cs (1)
1131
ITextView parentView = TextSelectionHelper.GetDocumentPageTextView(TopOwner.Range.Start.
CreatePointer
(LogicalDirection.Forward));
src\Framework\MS\Internal\Annotations\Component\MArkedHighlightComponent.cs (3)
682
ITextPointer start = anchor.Start.
CreatePointer
(LogicalDirection.Forward);
683
ITextPointer end = anchor.End.
CreatePointer
(LogicalDirection.Backward);
849
nextPointer = nextPointer.
CreatePointer
(direction == LogicalDirection.Backward ? LogicalDirection.Forward : LogicalDirection.Backward);
src\Framework\MS\Internal\Documents\DocumentGrid.cs (1)
313
tp = tp.
CreatePointer
(LogicalDirection.Forward);
src\Framework\MS\Internal\Documents\DocumentViewerHelper.cs (1)
424
contextMenuPosition = textContainer.TextSelection.Start.
CreatePointer
(LogicalDirection.Forward);
src\Framework\MS\Internal\Documents\TextContainerHelper.cs (2)
456
positionsStart.Insert(0, position.
CreatePointer
(LogicalDirection.Forward));
472
positionsEnd.Insert(0, position.
CreatePointer
(LogicalDirection.Backward));
src\Framework\MS\Internal\Documents\TextDocumentView.cs (10)
775
position = paragraph.StartPosition.
CreatePointer
(LogicalDirection.Forward);
779
position = paragraph.EndPosition.
CreatePointer
(LogicalDirection.Backward);
895
position = paragraph.StartPosition.
CreatePointer
(LogicalDirection.Forward);
899
position = paragraph.EndPosition.
CreatePointer
(LogicalDirection.Backward);
2538
positionOut = lines[lineIndex].StartPosition.
CreatePointer
(LogicalDirection.Forward);
2558
positionOut = lines[0].StartPosition.
CreatePointer
(LogicalDirection.Forward);
2570
positionOut = lines[lines.Count - 1].StartPosition.
CreatePointer
(LogicalDirection.Forward);
3021
positionOut = lines[lineIndex].StartPosition.
CreatePointer
(LogicalDirection.Forward);
3036
positionOut = lines[0].StartPosition.
CreatePointer
(LogicalDirection.Forward);
3048
positionOut = lines[lines.Count - 1].StartPosition.
CreatePointer
(LogicalDirection.Forward);
src\Framework\MS\Internal\Documents\TextParagraphView.cs (1)
203
positionOut = lines[lineIndex].StartPosition.
CreatePointer
(LogicalDirection.Forward);
src\Framework\System\Windows\Controls\PasswordTextContainer.cs (1)
234
return ((ITextPointer)position.Handle0).
CreatePointer
(direction);
src\Framework\System\Windows\Controls\TextAdaptor.cs (4)
607
rangeStart = position.
CreatePointer
(LogicalDirection.Forward);
609
rangeEnd = position.
CreatePointer
(LogicalDirection.Backward);
617
rangeStart = position.
CreatePointer
(LogicalDirection.Forward);
619
rangeEnd = position.
CreatePointer
(LogicalDirection.Backward);
src\Framework\System\Windows\Controls\TextBox.cs (2)
1441
textPointer = (TextPointer)TextEditor.GetTextView(this.RenderScope).GetLineRange(textPointer).Start.
CreatePointer
(textPointer.LogicalDirection);
1470
textPointer = (TextPointer)TextEditor.GetTextView(this.RenderScope).GetLineRange(textPointer).End.
CreatePointer
(textPointer.LogicalDirection);
src\Framework\System\Windows\Controls\TextRangeAdaptor.cs (6)
1693
ITextPointer position = _end.
CreatePointer
(LogicalDirection.Backward);
1704
attrEnd = position.
CreatePointer
(LogicalDirection.Backward);
1711
attrStart = position.
CreatePointer
(LogicalDirection.Forward);
1724
ITextPointer position = _start.
CreatePointer
(LogicalDirection.Forward);
1735
attrStart = position.
CreatePointer
(LogicalDirection.Forward);
1742
attrEnd = position.
CreatePointer
(LogicalDirection.Backward);
src\Framework\System\Windows\Documents\CompositionAdorner.cs (4)
330
ITextPointer rangeStart = start.
CreatePointer
(LogicalDirection.Forward);
331
ITextPointer rangeEnd = end.
CreatePointer
(LogicalDirection.Backward);
609
endLinePointer = textSegment.End.
CreatePointer
(LogicalDirection.Backward);
624
startLinePointer = textSegment.End.
CreatePointer
(LogicalDirection.Forward);
src\Framework\System\Windows\Documents\DocumentSequenceTextContainer.cs (1)
128
return ((ITextPointer)position.Handle0).
CreatePointer
(direction);
src\Framework\System\Windows\Documents\DocumentSequenceTextPointer.cs (5)
202
/// <see cref="ITextPointer.
CreatePointer
(LogicalDirection)"/>
379
ITextPointer positionForwardGravity = ((ITextPointer)this).
CreatePointer
(LogicalDirection.Forward);
803
DocumentSequenceTextPointer newTp = new DocumentSequenceTextPointer(thisTp.ChildBlock, thisTp.ChildPointer.
CreatePointer
(gravity));
1098
cdb.ChildContainer.Start.
CreatePointer
(childTn.LogicalDirection)
1099
: cdb.ChildContainer.End.
CreatePointer
(childTn.LogicalDirection)
src\Framework\System\Windows\Documents\DocumentSequenceTextView.cs (4)
150
return ChildTextView.GetRawRectangleFromTextPosition(tp.ChildPointer.
CreatePointer
(position.LogicalDirection), out transform);
233
ITextPointer childOTP = ChildTextView.GetPositionAtNextLine(tp.ChildPointer.
CreatePointer
(position.LogicalDirection), suggestedX, count, out newSuggestedX, out linesMoved);
388
TextSegment childTR = ChildTextView.GetLineRange(tpLine.ChildPointer.
CreatePointer
(position.LogicalDirection));
462
return ChildTextView.Contains(tp.ChildPointer.
CreatePointer
(position.LogicalDirection));
src\Framework\System\Windows\Documents\FixedTextContainer.cs (1)
113
return ((ITextPointer)position.Handle0).
CreatePointer
(direction);
src\Framework\System\Windows\Documents\FixedTextPointer.cs (2)
281
/// <see cref="ITextPointer.
CreatePointer
(LogicalDirection)"/>
602
ITextPointer positionForwardGravity = ((ITextPointer)this).
CreatePointer
(LogicalDirection.Forward);
src\Framework\System\Windows\Documents\FixedTextView.cs (2)
888
itp = ((ITextPointer)this.Start).
CreatePointer
(LogicalDirection.Forward);
893
itp = ((ITextPointer)this.End).
CreatePointer
(LogicalDirection.Backward);
src\Framework\System\Windows\Documents\ImmComposition.cs (6)
751
ITextPointer startPosition = startNavigator.
CreatePointer
(LogicalDirection.Forward);
752
ITextPointer endPosition = endNavigator.
CreatePointer
(LogicalDirection.Backward);
753
ITextPointer caretPosition = caretNavigator.
CreatePointer
(LogicalDirection.Forward);
889
rectCaret = view.GetRectangleFromTextPosition(_editor.Selection.End.
CreatePointer
(LogicalDirection.Backward));
1694
ITextPointer start = range.Start.
CreatePointer
(LogicalDirection.Backward);
1699
ITextPointer end = start.
CreatePointer
(LogicalDirection.Forward);
src\Framework\System\Windows\Documents\NullTextContainer.cs (1)
100
return ((ITextPointer)position.Handle0).
CreatePointer
(direction);
src\Framework\System\Windows\Documents\NullTextNavigator.cs (1)
188
/// <see cref="ITextPointer.
CreatePointer
(LogicalDirection)"/>
src\Framework\System\windows\Documents\TextEditorContextMenu.cs (1)
209
if (position != null && position.
CreatePointer
(direction).HasValidLayout)
src\Framework\System\windows\Documents\TextEditorSelection.cs (3)
136
ITextPointer lineStart = position.
CreatePointer
(LogicalDirection.Forward);
138
ITextPointer lineEnd = position.
CreatePointer
(LogicalDirection.Backward);
1627
ExtendSelectionAndBringIntoView(lineRange.Start.
CreatePointer
(LogicalDirection.Forward), This);
src\Framework\System\windows\Documents\TextEditorSpelling.cs (1)
187
textStart = spellingError.Start.
CreatePointer
(LogicalDirection.Backward);
src\Framework\System\windows\Documents\TextEditorTyping.cs (1)
1582
ITextPointer caretPosition = This.Selection.End.
CreatePointer
(LogicalDirection.Backward);
src\Framework\System\Windows\Documents\TextPointerBase.cs (2)
887
Rect rect = textView.GetRectangleFromTextPosition(thisPointer.
CreatePointer
(direction));
1114
frozenPointer = thisPointer.
CreatePointer
(logicalDirection);
src\Framework\System\Windows\Documents\TextRangeBase.cs (2)
1390
ITextPointer newEnd = insertPosition.
CreatePointer
(LogicalDirection.Forward);
1395
TextPointer insertionPosition = (TextPointer)newStart.
CreatePointer
(LogicalDirection.Forward);
src\Framework\System\Windows\Documents\TextRangeSerialization.cs (1)
1948
hyperlinkStart = range.Start.
CreatePointer
(LogicalDirection.Forward);
src\Framework\System\windows\Documents\TextSelection.cs (4)
462
caretPosition = caretPosition.
CreatePointer
(direction);
472
ITextPointer reversePosition = caretPosition.
CreatePointer
(direction == LogicalDirection.Forward ? LogicalDirection.Backward : LogicalDirection.Forward);
2286
nextCharacterPosition = focusedTextSelection.Start.
CreatePointer
(LogicalDirection.Forward);
2300
nextCharacterPosition = focusedTextSelection.End.
CreatePointer
(LogicalDirection.Backward);
src\Framework\System\Windows\Documents\TextStore.cs (4)
861
ITextPointer positionCur = position.
CreatePointer
(LogicalDirection.Backward);
862
ITextPointer positionPrev = position.
CreatePointer
(LogicalDirection.Forward);
1808
pointer = this.TextSelection.Start.
CreatePointer
(direction);
3097
ITextPointer navigator = start.
CreatePointer
(LogicalDirection.Forward);