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