1 implementation of MovingPosition
PresentationFramework (1)
src\Framework\System\windows\Documents\TextSelection.cs (1)
410ITextPointer ITextSelection.MovingPosition
35 references to MovingPosition
PresentationFramework (35)
src\Framework\MS\Internal\Documents\IFlowDocumentViewer.cs (4)
227textSelection.SetCaretToPosition(newTextSelection.AnchorPosition, newTextSelection.MovingPosition.LogicalDirection, true, true); 228textSelection.ExtendToPosition(newTextSelection.MovingPosition); 566textSelection.SetCaretToPosition(newTextSelection.AnchorPosition, newTextSelection.MovingPosition.LogicalDirection, true, true); 567textSelection.ExtendToPosition(newTextSelection.MovingPosition);
src\Framework\System\Windows\Annotations\AnnotationHelper.cs (4)
535selection.SetCaretToPosition(selection.MovingPosition, selection.MovingPosition.LogicalDirection, true, true); 971selection.SetCaretToPosition(selection.MovingPosition, selection.MovingPosition.LogicalDirection, true, true);
src\Framework\System\windows\Documents\CaretElement.cs (1)
448if (!_textEditor.Selection.MovingPosition.HasValidLayout && _textEditor.TextView != null && _textEditor.TextView.IsValid)
src\Framework\System\windows\Documents\TextEditorSelection.cs (12)
313ITextPointer newMovingPosition = This.TextView.GetPositionAtNextLine(This.Selection.MovingPosition, suggestedX, +1, out newSuggestedX, out linesMoved); 402ITextPointer newMovingPosition = This.TextView.GetPositionAtNextLine(This.Selection.MovingPosition, suggestedX, -1, out newSuggestedX, out linesMoved); 482ITextPointer movingPointer = This.Selection.MovingPosition.CreatePointer(); 533ITextPointer movingPointer = This.Selection.MovingPosition.CreatePointer(); 1340ITextPointer movingPointer = This.Selection.MovingPosition.CreatePointer(); 1381ITextPointer movingPointer = This.Selection.MovingPosition.CreatePointer(); 2045ITextPointer position = textEditor.Selection.MovingPosition.CreatePointer(); 2076BringIntoView(textEditor.Selection.MovingPosition, textEditor); 2215ITextPointer wordBoundary = textEditor.Selection.MovingPosition.CreatePointer(); 2264if (This.Selection.MovingPosition.CompareTo(innerMovingPosition) > 0) 2327ITextPointer movingPosition = This.Selection.MovingPosition; 2370if (end.CompareTo(This.Selection.MovingPosition) == 0)
src\Framework\System\Windows\Documents\TextParentUndoUnit.cs (2)
51: this(selection, selection.AnchorPosition, selection.MovingPosition) 188RecordRedoSelectionState(_selection.AnchorPosition, _selection.MovingPosition);
src\Framework\System\windows\Documents\TextSelection.cs (7)
259ITextPointer movingPosition = ((ITextSelection)this).MovingPosition; 595ITextPointer movingPosition = ((ITextSelection)this).MovingPosition; 664return thisSelection.MovingPosition.GetNextInsertionPosition(direction); 1047if (!TextRangeEditTables.IsTableCellRange((TextPointer)_anchorPosition, (TextPointer)((ITextSelection)this).MovingPosition, /*includeCellAtMovingPosition:*/false, out anchorCell, out movingCell)) 1180return (TextPointer)((ITextSelection)this).MovingPosition; 1728((ITextSelection)this).MovingPosition.ValidateLayout(); 2181ITextPointer caretPosition = currentTextSelection.MovingPosition;
src\Framework\System\Windows\Documents\TextStore.cs (5)
251selection[0].style.ase = (this.TextSelection.MovingPosition.CompareTo(this.TextSelection.Start) == 0) ? UnsafeNativeMethods.TsActiveSelEnd.TS_AE_START : UnsafeNativeMethods.TsActiveSelEnd.TS_AE_END; 553ITextRange range = new TextRange(this.TextSelection.AnchorPosition, this.TextSelection.MovingPosition); 3459int imeSelectionMovingOffset = this.TextSelection.MovingPosition.Offset; 3650appSelectionMovingOffset = this.TextSelection.MovingPosition.Offset; 3677appSelectionMovingOffset = this.TextSelection.MovingPosition.Offset;