1 implementation of MovingPosition
PresentationFramework (1)
System\windows\Documents\TextSelection.cs (1)
391
ITextPointer ITextSelection.
MovingPosition
35 references to MovingPosition
PresentationFramework (35)
MS\Internal\Documents\IFlowDocumentViewer.cs (4)
222
textSelection.SetCaretToPosition(newTextSelection.AnchorPosition, newTextSelection.
MovingPosition
.LogicalDirection, true, true);
223
textSelection.ExtendToPosition(newTextSelection.
MovingPosition
);
549
textSelection.SetCaretToPosition(newTextSelection.AnchorPosition, newTextSelection.
MovingPosition
.LogicalDirection, true, true);
550
textSelection.ExtendToPosition(newTextSelection.
MovingPosition
);
System\Windows\Annotations\AnnotationHelper.cs (4)
513
selection.SetCaretToPosition(selection.
MovingPosition
, selection.
MovingPosition
.LogicalDirection, true, true);
948
selection.SetCaretToPosition(selection.
MovingPosition
, selection.
MovingPosition
.LogicalDirection, true, true);
System\windows\Documents\CaretElement.cs (1)
439
if (!_textEditor.Selection.
MovingPosition
.HasValidLayout && _textEditor.TextView != null && _textEditor.TextView.IsValid)
System\windows\Documents\TextEditorSelection.cs (12)
289
ITextPointer newMovingPosition = This.TextView.GetPositionAtNextLine(This.Selection.
MovingPosition
, suggestedX, +1, out newSuggestedX, out linesMoved);
378
ITextPointer newMovingPosition = This.TextView.GetPositionAtNextLine(This.Selection.
MovingPosition
, suggestedX, -1, out newSuggestedX, out linesMoved);
458
ITextPointer movingPointer = This.Selection.
MovingPosition
.CreatePointer();
509
ITextPointer movingPointer = This.Selection.
MovingPosition
.CreatePointer();
1315
ITextPointer movingPointer = This.Selection.
MovingPosition
.CreatePointer();
1356
ITextPointer movingPointer = This.Selection.
MovingPosition
.CreatePointer();
2020
ITextPointer position = textEditor.Selection.
MovingPosition
.CreatePointer();
2051
BringIntoView(textEditor.Selection.
MovingPosition
, textEditor);
2190
ITextPointer wordBoundary = textEditor.Selection.
MovingPosition
.CreatePointer();
2239
if (This.Selection.
MovingPosition
.CompareTo(innerMovingPosition) > 0)
2302
ITextPointer movingPosition = This.Selection.
MovingPosition
;
2345
if (end.CompareTo(This.Selection.
MovingPosition
) == 0)
System\Windows\Documents\TextParentUndoUnit.cs (2)
34
: this(selection, selection.AnchorPosition, selection.
MovingPosition
)
171
RecordRedoSelectionState(_selection.AnchorPosition, _selection.
MovingPosition
);
System\windows\Documents\TextSelection.cs (7)
240
ITextPointer movingPosition = ((ITextSelection)this).
MovingPosition
;
576
ITextPointer movingPosition = ((ITextSelection)this).
MovingPosition
;
645
return thisSelection.
MovingPosition
.GetNextInsertionPosition(direction);
1025
if (!TextRangeEditTables.IsTableCellRange((TextPointer)_anchorPosition, (TextPointer)((ITextSelection)this).
MovingPosition
, /*includeCellAtMovingPosition:*/false, out anchorCell, out movingCell))
1158
return (TextPointer)((ITextSelection)this).
MovingPosition
;
1701
((ITextSelection)this).
MovingPosition
.ValidateLayout();
2154
ITextPointer caretPosition = currentTextSelection.
MovingPosition
;
System\Windows\Documents\TextStore.cs (5)
332
selection[0].style.ase = (this.TextSelection.
MovingPosition
.CompareTo(this.TextSelection.Start) == 0) ? UnsafeNativeMethods.TsActiveSelEnd.TS_AE_START : UnsafeNativeMethods.TsActiveSelEnd.TS_AE_END;
673
ITextRange range = new TextRange(this.TextSelection.AnchorPosition, this.TextSelection.
MovingPosition
);
3530
int imeSelectionMovingOffset = this.TextSelection.
MovingPosition
.Offset;
3770
appSelectionMovingOffset = this.TextSelection.
MovingPosition
.Offset;
3797
appSelectionMovingOffset = this.TextSelection.
MovingPosition
.Offset;