5 implementations of GetInsertionPosition
PresentationFramework (5)
System\Windows\Controls\PasswordTextNavigator.cs (1)
555ITextPointer ITextPointer.GetInsertionPosition(LogicalDirection direction)
System\Windows\Documents\DocumentSequenceTextPointer.cs (1)
266ITextPointer ITextPointer.GetInsertionPosition(LogicalDirection direction)
System\Windows\Documents\FixedTextPointer.cs (1)
327ITextPointer ITextPointer.GetInsertionPosition(LogicalDirection direction)
System\Windows\Documents\NullTextNavigator.cs (1)
349ITextPointer ITextPointer.GetInsertionPosition(LogicalDirection direction)
System\Windows\Documents\TextPointer.cs (1)
2466ITextPointer ITextPointer.GetInsertionPosition(LogicalDirection direction)
23 references to GetInsertionPosition
PresentationFramework (23)
MS\Internal\Annotations\Component\AnnotationHighlightLayer.cs (2)
1063segmentStart = cursor.GetInsertionPosition(LogicalDirection.Forward); 1080ITextPointer segmentEnd = cursor.GetInsertionPosition(LogicalDirection.Backward);
MS\Internal\Annotations\TextAnchor.cs (5)
117textPointer = textPointer.GetInsertionPosition(LogicalDirection.Forward); 121textPointer = textPointer.GetInsertionPosition(LogicalDirection.Backward); 662start = start.GetInsertionPosition(start.LogicalDirection); 670start = start.GetInsertionPosition(LogicalDirection.Forward); 674end = end.GetInsertionPosition(LogicalDirection.Backward);
System\Windows\Documents\FixedTextPointer.cs (1)
325/// <see cref="ITextPointer.GetInsertionPosition"/>
System\Windows\Documents\NullTextNavigator.cs (1)
347/// <see cref="ITextPointer.GetInsertionPosition"/>
System\windows\Documents\TextEditorDragDrop.cs (1)
471dropPosition = dropPosition.GetInsertionPosition(dropPosition.LogicalDirection);
System\windows\Documents\TextEditorSelection.cs (3)
1147newMovingPosition = newMovingPosition.GetInsertionPosition(LogicalDirection.Forward); 2085movingEnd = movingEnd.GetInsertionPosition(contentDirection); 2336movingPosition = movingPosition.GetInsertionPosition(movingPosition.LogicalDirection);
System\Windows\Documents\TextPointer.cs (1)
1065return (TextPointer)((ITextPointer)this).GetInsertionPosition(direction);
System\Windows\Documents\TextPointerBase.cs (4)
529thisPosition = thisPosition.GetInsertionPosition(direction); 612return limit.GetInsertionPosition(direction == LogicalDirection.Backward ? LogicalDirection.Forward : LogicalDirection.Backward); 673thisPosition = thisPosition.GetInsertionPosition(direction); 874ITextPointer insertionPosition = thisPointer.GetInsertionPosition(direction);
System\Windows\Documents\TextRangeBase.cs (1)
1813normalizedPosition = position.GetInsertionPosition(direction);
System\Windows\Documents\TextRangeEdit.cs (1)
1260rangeEnd = rangeEnd.GetInsertionPosition(LogicalDirection.Backward);
System\windows\Documents\TextSelection.cs (3)
965anchorWordRange.Contains(cursorPosition.GetInsertionPosition(LogicalDirection.Forward)) || 966anchorWordRange.Contains(cursorPosition.GetInsertionPosition(LogicalDirection.Backward))) 1872_anchorPosition = anchorPosition.GetInsertionPosition(anchorPosition.LogicalDirection);