1 implementation of MovingPosition
PresentationFramework (1)
System\windows\Documents\TextSelection.cs (1)
407ITextPointer ITextSelection.MovingPosition
35 references to MovingPosition
PresentationFramework (35)
MS\Internal\Documents\IFlowDocumentViewer.cs (4)
226textSelection.SetCaretToPosition(newTextSelection.AnchorPosition, newTextSelection.MovingPosition.LogicalDirection, true, true); 227textSelection.ExtendToPosition(newTextSelection.MovingPosition); 565textSelection.SetCaretToPosition(newTextSelection.AnchorPosition, newTextSelection.MovingPosition.LogicalDirection, true, true); 566textSelection.ExtendToPosition(newTextSelection.MovingPosition);
System\Windows\Annotations\AnnotationHelper.cs (4)
528selection.SetCaretToPosition(selection.MovingPosition, selection.MovingPosition.LogicalDirection, true, true); 963selection.SetCaretToPosition(selection.MovingPosition, selection.MovingPosition.LogicalDirection, true, true);
System\windows\Documents\CaretElement.cs (1)
444if (!_textEditor.Selection.MovingPosition.HasValidLayout && _textEditor.TextView != null && _textEditor.TextView.IsValid)
System\windows\Documents\TextEditorSelection.cs (12)
305ITextPointer newMovingPosition = This.TextView.GetPositionAtNextLine(This.Selection.MovingPosition, suggestedX, +1, out newSuggestedX, out linesMoved); 394ITextPointer newMovingPosition = This.TextView.GetPositionAtNextLine(This.Selection.MovingPosition, suggestedX, -1, out newSuggestedX, out linesMoved); 474ITextPointer movingPointer = This.Selection.MovingPosition.CreatePointer(); 525ITextPointer movingPointer = This.Selection.MovingPosition.CreatePointer(); 1331ITextPointer movingPointer = This.Selection.MovingPosition.CreatePointer(); 1372ITextPointer movingPointer = This.Selection.MovingPosition.CreatePointer(); 2036ITextPointer position = textEditor.Selection.MovingPosition.CreatePointer(); 2067BringIntoView(textEditor.Selection.MovingPosition, textEditor); 2206ITextPointer wordBoundary = textEditor.Selection.MovingPosition.CreatePointer(); 2255if (This.Selection.MovingPosition.CompareTo(innerMovingPosition) > 0) 2318ITextPointer movingPosition = This.Selection.MovingPosition; 2361if (end.CompareTo(This.Selection.MovingPosition) == 0)
System\Windows\Documents\TextParentUndoUnit.cs (2)
46: this(selection, selection.AnchorPosition, selection.MovingPosition) 183RecordRedoSelectionState(_selection.AnchorPosition, _selection.MovingPosition);
System\windows\Documents\TextSelection.cs (7)
256ITextPointer movingPosition = ((ITextSelection)this).MovingPosition; 592ITextPointer movingPosition = ((ITextSelection)this).MovingPosition; 661return thisSelection.MovingPosition.GetNextInsertionPosition(direction); 1044if (!TextRangeEditTables.IsTableCellRange((TextPointer)_anchorPosition, (TextPointer)((ITextSelection)this).MovingPosition, /*includeCellAtMovingPosition:*/false, out anchorCell, out movingCell)) 1177return (TextPointer)((ITextSelection)this).MovingPosition; 1720((ITextSelection)this).MovingPosition.ValidateLayout(); 2173ITextPointer caretPosition = currentTextSelection.MovingPosition;
System\Windows\Documents\TextStore.cs (5)
344selection[0].style.ase = (this.TextSelection.MovingPosition.CompareTo(this.TextSelection.Start) == 0) ? UnsafeNativeMethods.TsActiveSelEnd.TS_AE_START : UnsafeNativeMethods.TsActiveSelEnd.TS_AE_END; 685ITextRange range = new TextRange(this.TextSelection.AnchorPosition, this.TextSelection.MovingPosition); 3549int imeSelectionMovingOffset = this.TextSelection.MovingPosition.Offset; 3789appSelectionMovingOffset = this.TextSelection.MovingPosition.Offset; 3816appSelectionMovingOffset = this.TextSelection.MovingPosition.Offset;