5 implementations of GetInsertionPosition
PresentationFramework (5)
src\Framework\System\Windows\Controls\PasswordTextNavigator.cs (1)
557
ITextPointer ITextPointer.
GetInsertionPosition
(LogicalDirection direction)
src\Framework\System\Windows\Documents\DocumentSequenceTextPointer.cs (1)
270
ITextPointer ITextPointer.
GetInsertionPosition
(LogicalDirection direction)
src\Framework\System\Windows\Documents\FixedTextPointer.cs (1)
342
ITextPointer ITextPointer.
GetInsertionPosition
(LogicalDirection direction)
src\Framework\System\Windows\Documents\NullTextNavigator.cs (1)
351
ITextPointer ITextPointer.
GetInsertionPosition
(LogicalDirection direction)
src\Framework\System\Windows\Documents\TextPointer.cs (1)
2486
ITextPointer ITextPointer.
GetInsertionPosition
(LogicalDirection direction)
23 references to GetInsertionPosition
PresentationFramework (23)
src\Framework\MS\Internal\Annotations\Component\AnnotationHighlightLayer.cs (2)
1082
segmentStart = cursor.
GetInsertionPosition
(LogicalDirection.Forward);
1099
ITextPointer segmentEnd = cursor.
GetInsertionPosition
(LogicalDirection.Backward);
src\Framework\MS\Internal\Annotations\TextAnchor.cs (5)
123
textPointer = textPointer.
GetInsertionPosition
(LogicalDirection.Forward);
127
textPointer = textPointer.
GetInsertionPosition
(LogicalDirection.Backward);
669
start = start.
GetInsertionPosition
(start.LogicalDirection);
677
start = start.
GetInsertionPosition
(LogicalDirection.Forward);
681
end = end.
GetInsertionPosition
(LogicalDirection.Backward);
src\Framework\System\Windows\Documents\FixedTextPointer.cs (1)
340
/// <see cref="ITextPointer.
GetInsertionPosition
"/>
src\Framework\System\Windows\Documents\NullTextNavigator.cs (1)
349
/// <see cref="ITextPointer.
GetInsertionPosition
"/>
src\Framework\System\windows\Documents\TextEditorDragDrop.cs (1)
483
dropPosition = dropPosition.
GetInsertionPosition
(dropPosition.LogicalDirection);
src\Framework\System\windows\Documents\TextEditorSelection.cs (3)
1156
newMovingPosition = newMovingPosition.
GetInsertionPosition
(LogicalDirection.Forward);
2094
movingEnd = movingEnd.
GetInsertionPosition
(contentDirection);
2345
movingPosition = movingPosition.
GetInsertionPosition
(movingPosition.LogicalDirection);
src\Framework\System\Windows\Documents\TextPointer.cs (1)
1076
return (TextPointer)((ITextPointer)this).
GetInsertionPosition
(direction);
src\Framework\System\Windows\Documents\TextPointerBase.cs (4)
531
thisPosition = thisPosition.
GetInsertionPosition
(direction);
614
return limit.
GetInsertionPosition
(direction == LogicalDirection.Backward ? LogicalDirection.Forward : LogicalDirection.Backward);
678
thisPosition = thisPosition.
GetInsertionPosition
(direction);
879
ITextPointer insertionPosition = thisPointer.
GetInsertionPosition
(direction);
src\Framework\System\Windows\Documents\TextRangeBase.cs (1)
1841
normalizedPosition = position.
GetInsertionPosition
(direction);
src\Framework\System\Windows\Documents\TextRangeEdit.cs (1)
1262
rangeEnd = rangeEnd.
GetInsertionPosition
(LogicalDirection.Backward);
src\Framework\System\windows\Documents\TextSelection.cs (3)
968
anchorWordRange.Contains(cursorPosition.
GetInsertionPosition
(LogicalDirection.Forward)) ||
969
anchorWordRange.Contains(cursorPosition.
GetInsertionPosition
(LogicalDirection.Backward)))
1880
_anchorPosition = anchorPosition.
GetInsertionPosition
(anchorPosition.LogicalDirection);