1 implementation of MovingPosition
PresentationFramework (1)
System\windows\Documents\TextSelection.cs (1)
404ITextPointer ITextSelection.MovingPosition
35 references to MovingPosition
PresentationFramework (35)
MS\Internal\Documents\IFlowDocumentViewer.cs (4)
223textSelection.SetCaretToPosition(newTextSelection.AnchorPosition, newTextSelection.MovingPosition.LogicalDirection, true, true); 224textSelection.ExtendToPosition(newTextSelection.MovingPosition); 562textSelection.SetCaretToPosition(newTextSelection.AnchorPosition, newTextSelection.MovingPosition.LogicalDirection, true, true); 563textSelection.ExtendToPosition(newTextSelection.MovingPosition);
System\Windows\Annotations\AnnotationHelper.cs (4)
516selection.SetCaretToPosition(selection.MovingPosition, selection.MovingPosition.LogicalDirection, true, true); 951selection.SetCaretToPosition(selection.MovingPosition, selection.MovingPosition.LogicalDirection, true, true);
System\windows\Documents\CaretElement.cs (1)
441if (!_textEditor.Selection.MovingPosition.HasValidLayout && _textEditor.TextView != null && _textEditor.TextView.IsValid)
System\windows\Documents\TextEditorSelection.cs (12)
290ITextPointer newMovingPosition = This.TextView.GetPositionAtNextLine(This.Selection.MovingPosition, suggestedX, +1, out newSuggestedX, out linesMoved); 379ITextPointer newMovingPosition = This.TextView.GetPositionAtNextLine(This.Selection.MovingPosition, suggestedX, -1, out newSuggestedX, out linesMoved); 459ITextPointer movingPointer = This.Selection.MovingPosition.CreatePointer(); 510ITextPointer movingPointer = This.Selection.MovingPosition.CreatePointer(); 1316ITextPointer movingPointer = This.Selection.MovingPosition.CreatePointer(); 1357ITextPointer movingPointer = This.Selection.MovingPosition.CreatePointer(); 2021ITextPointer position = textEditor.Selection.MovingPosition.CreatePointer(); 2052BringIntoView(textEditor.Selection.MovingPosition, textEditor); 2191ITextPointer wordBoundary = textEditor.Selection.MovingPosition.CreatePointer(); 2240if (This.Selection.MovingPosition.CompareTo(innerMovingPosition) > 0) 2303ITextPointer movingPosition = This.Selection.MovingPosition; 2346if (end.CompareTo(This.Selection.MovingPosition) == 0)
System\Windows\Documents\TextParentUndoUnit.cs (2)
35: this(selection, selection.AnchorPosition, selection.MovingPosition) 172RecordRedoSelectionState(_selection.AnchorPosition, _selection.MovingPosition);
System\windows\Documents\TextSelection.cs (7)
253ITextPointer movingPosition = ((ITextSelection)this).MovingPosition; 589ITextPointer movingPosition = ((ITextSelection)this).MovingPosition; 658return thisSelection.MovingPosition.GetNextInsertionPosition(direction); 1041if (!TextRangeEditTables.IsTableCellRange((TextPointer)_anchorPosition, (TextPointer)((ITextSelection)this).MovingPosition, /*includeCellAtMovingPosition:*/false, out anchorCell, out movingCell)) 1174return (TextPointer)((ITextSelection)this).MovingPosition; 1717((ITextSelection)this).MovingPosition.ValidateLayout(); 2170ITextPointer caretPosition = currentTextSelection.MovingPosition;
System\Windows\Documents\TextStore.cs (5)
333selection[0].style.ase = (this.TextSelection.MovingPosition.CompareTo(this.TextSelection.Start) == 0) ? UnsafeNativeMethods.TsActiveSelEnd.TS_AE_START : UnsafeNativeMethods.TsActiveSelEnd.TS_AE_END; 674ITextRange range = new TextRange(this.TextSelection.AnchorPosition, this.TextSelection.MovingPosition); 3538int imeSelectionMovingOffset = this.TextSelection.MovingPosition.Offset; 3778appSelectionMovingOffset = this.TextSelection.MovingPosition.Offset; 3805appSelectionMovingOffset = this.TextSelection.MovingPosition.Offset;