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