7 references to NewPosition
PresentationFramework (7)
System\windows\Documents\TextEditorSelection.cs (7)
1785
This.Selection.SetCaretToPosition(e.
NewPosition
, e.
NewPosition
.LogicalDirection, /*allowStopAtLineEnd:*/true, /*allowStopNearSpace:*/true);
1845
int newComparedToOld = e.
NewPosition
.CompareTo(e.Position);
1850
if (newComparedToOld < 0 || newComparedToOld == 0 && e.
NewPosition
.LogicalDirection != e.Position.LogicalDirection)
1860
ExtendSelectionAndBringIntoView(e.
NewPosition
, This);
1872
ExtendSelectionAndBringIntoView(GetPositionAtLineStart(e.
NewPosition
), This);
1877
AdjustMovingPositionForSelectDownByLine(This, e.
NewPosition
, e.Position, e.NewSuggestedX);