1 implementation of SetCaretToPosition
PresentationFramework (1)
src\Framework\System\windows\Documents\TextSelection.cs (1)
457
void ITextSelection.
SetCaretToPosition
(ITextPointer caretPosition, LogicalDirection direction, bool allowStopAtLineEnd, bool allowStopNearSpace)
48 references to SetCaretToPosition
PresentationFramework (48)
src\Framework\MS\Internal\Documents\IFlowDocumentViewer.cs (2)
227
textSelection.
SetCaretToPosition
(newTextSelection.AnchorPosition, newTextSelection.MovingPosition.LogicalDirection, true, true);
566
textSelection.
SetCaretToPosition
(newTextSelection.AnchorPosition, newTextSelection.MovingPosition.LogicalDirection, true, true);
src\Framework\System\Windows\Annotations\AnnotationHelper.cs (2)
535
selection.
SetCaretToPosition
(selection.MovingPosition, selection.MovingPosition.LogicalDirection, true, true);
971
selection.
SetCaretToPosition
(selection.MovingPosition, selection.MovingPosition.LogicalDirection, true, true);
src\Framework\System\windows\Documents\TextEditorCopyPaste.cs (1)
526
This.Selection.
SetCaretToPosition
(This.Selection.End, LogicalDirection.Backward, /*allowStopAtLineEnd:*/false, /*allowStopNearSpace:*/true);
src\Framework\System\windows\Documents\TextEditorDragDrop.cs (2)
577
selection.
SetCaretToPosition
(dropPosition, LogicalDirection.Backward, /*allowStopAtLineEnd:*/false, /*allowStopNearSpace:*/true);
605
selection.
SetCaretToPosition
(dropPosition, LogicalDirection.Backward, /*allowStopAtLineEnd:*/false, /*allowStopNearSpace:*/true);
src\Framework\System\windows\Documents\TextEditorSelection.cs (30)
293
This.Selection.
SetCaretToPosition
(position, position.LogicalDirection, /*allowStopAtLineEnd:*/true, /*allowStopNearSpace:*/true);
322
This.Selection.
SetCaretToPosition
(newMovingPosition, newMovingPosition.LogicalDirection, /*allowStopAtLineEnd:*/true, /*allowStopNearSpace:*/true);
337
This.Selection.
SetCaretToPosition
(nextPosition != null ? nextPosition : lineEndPosition,
382
This.Selection.
SetCaretToPosition
(position, position.LogicalDirection, /*allowStopAtLineEnd:*/true, /*allowStopNearSpace:*/true);
412
This.Selection.
SetCaretToPosition
(newMovingPosition, newMovingPosition.LogicalDirection, /*allowStopAtLineEnd:*/true, /*allowStopNearSpace:*/true);
427
This.Selection.
SetCaretToPosition
(previousPosition != null ? previousPosition : lineStartPosition,
479
This.Selection.
SetCaretToPosition
(position, position.LogicalDirection, /*allowStopAtLineEnd:*/false, /*allowStopNearSpace:*/false);
491
This.Selection.
SetCaretToPosition
(paragraphRange.Start, LogicalDirection.Backward, /*allowStopAtLineEnd:*/false, /*allowStopNearSpace:*/false);
496
This.Selection.
SetCaretToPosition
(paragraphRange.End, LogicalDirection.Backward, /*allowStopAtLineEnd:*/false, /*allowStopNearSpace:*/false);
531
This.Selection.
SetCaretToPosition
(position, position.LogicalDirection, /*allowStopAtLineEnd:*/false, /*allowStopNearSpace:*/false);
540
This.Selection.
SetCaretToPosition
(paragraphRange.Start, LogicalDirection.Backward, /*allowStopAtLineEnd:*/false, /*allowStopNearSpace:*/false);
549
This.Selection.
SetCaretToPosition
(paragraphRange.Start, LogicalDirection.Backward, /*allowStopAtLineEnd:*/false, /*allowStopNearSpace:*/false);
584
This.Selection.
SetCaretToPosition
(position, position.LogicalDirection, /*allowStopAtLineEnd:*/true, /*allowStopNearSpace:*/true);
627
This.Selection.
SetCaretToPosition
(targetPosition, targetPosition.LogicalDirection, /*allowStopAtLineEnd:*/true, /*allowStopNearSpace:*/false);
665
This.Selection.
SetCaretToPosition
(targetPosition, targetPosition.LogicalDirection, /*allowStopAtLineEnd:*/true, /*allowStopNearSpace:*/false);
702
This.Selection.
SetCaretToPosition
(position, position.LogicalDirection, /*allowStopAtLineEnd:*/true, /*allowStopNearSpace:*/true);
741
This.Selection.
SetCaretToPosition
(targetPosition, targetPosition.LogicalDirection, /*allowStopAtLineEnd:*/true, /*allowStopNearSpace:*/false);
779
This.Selection.
SetCaretToPosition
(targetPosition, targetPosition.LogicalDirection, /*allowStopAtLineEnd:*/
830
This.Selection.
SetCaretToPosition
(caretPosition, LogicalDirection.Forward, /*allowStopAtLineEnd:*/true, /*allowStopNearSpace:*/true);
882
This.Selection.
SetCaretToPosition
(caretPosition, orientation, /*allowStopAtLineEnd:*/true, /*allowStopNearSpace:*/true);
910
This.Selection.
SetCaretToPosition
(This.TextContainer.Start, LogicalDirection.Forward, /*allowStopAtLineEnd:*/false, /*allowStopNearSpace:*/false);
939
This.Selection.
SetCaretToPosition
(This.TextContainer.End, LogicalDirection.Backward, /*allowStopAtLineEnd:*/false, /*allowStopNearSpace:*/false);
1809
This.Selection.
SetCaretToPosition
(e.NewPosition, e.NewPosition.LogicalDirection, /*allowStopAtLineEnd:*/true, /*allowStopNearSpace:*/true);
1839
This.Selection.
SetCaretToPosition
(e.NewPosition, e.NewPosition.LogicalDirection, /*allowStopAtLineEnd:*/true, /*allowStopNearSpace:*/true);
2101
textEditor.Selection.
SetCaretToPosition
(movingEnd, contentDirection, /*allowStopAtLineEnd:*/false, /*allowStopNearSpace:*/false);
2145
textEditor.Selection.
SetCaretToPosition
(textEditor.Selection.End, LogicalDirection.Backward, /*allowStopAtLineEnd:*/false, /*allowStopNearSpace:*/false);
2154
textEditor.Selection.
SetCaretToPosition
(wordBoundary, LogicalDirection.Backward, /*allowStopAtLineEnd:*/false, /*allowStopNearSpace:*/false);
2165
textEditor.Selection.
SetCaretToPosition
(textEditor.Selection.Start, LogicalDirection.Forward, /*allowStopAtLineEnd:*/false, /*allowStopNearSpace:*/false);
2174
textEditor.Selection.
SetCaretToPosition
(wordBoundary, LogicalDirection.Forward, /*allowStopAtLineEnd:*/false, /*allowStopNearSpace:*/false);
2423
This.Selection.
SetCaretToPosition
(position, LogicalDirection.Forward, /*allowStopAtLineEnd:*/false, /*allowStopNearSpace:*/false);
src\Framework\System\windows\Documents\TextEditorTyping.cs (6)
748
This.Selection.
SetCaretToPosition
(position, LogicalDirection.Backward, /*allowStopAtLineEnd:*/false, /*allowStopNearSpace:*/true);
797
This.Selection.
SetCaretToPosition
(deletePosition, directionOfDelete, /*allowStopAtLineEnd:*/false, /*allowStopNearSpace:*/true);
1107
This.Selection.
SetCaretToPosition
(This.Selection.End, LogicalDirection.Forward, /*allowStopAtLineEnd:*/false, /*allowStopNearSpace:*/false);
1198
This.Selection.
SetCaretToPosition
(range.Start, LogicalDirection.Forward, /*allowStopAtLineEnd:*/false, /*allowStopNearSpace:*/false);
1434
This.Selection.
SetCaretToPosition
(This.Selection.Start, LogicalDirection.Backward, /*allowStopAtLineEnd:*/false, /*allowStopNearSpace:*/false);
1585
This.Selection.
SetCaretToPosition
(caretPosition, LogicalDirection.Backward, /*allowStopAtLineEnd:*/true, /*allowStopNearSpace:*/true);
src\Framework\System\windows\Documents\TextSelection.cs (3)
306
((ITextSelection)this).
SetCaretToPosition
(((ITextRange)this).End, LogicalDirection.Forward, /*allowStopAtLineEnd:*/false, /*allowStopNearSpace:*/false);
1191
((ITextSelection)this).
SetCaretToPosition
(caretPosition, direction, allowStopAtLineEnd, allowStopNearSpace);
1977
thisSelection.
SetCaretToPosition
(cursorPosition, cursorPosition.LogicalDirection, /*allowStopAtLineEnd:*/true, /*allowStopNearSpace:*/false);
src\Framework\System\Windows\Documents\TextStore.cs (2)
271
this.TextSelection.
SetCaretToPosition
(start, LogicalDirection.Backward, /*allowStopAtLineEnd:*/true, /*allowStopNearSpace:*/true);
1900
this.TextSelection.
SetCaretToPosition
(range.End, LogicalDirection.Backward, /*allowStopAtLineEnd:*/true, /*allowStopNearSpace:*/true);