1 implementation of MovingPosition
PresentationFramework (1)
System\windows\Documents\TextSelection.cs (1)
407
ITextPointer ITextSelection.
MovingPosition
35 references to MovingPosition
PresentationFramework (35)
MS\Internal\Documents\IFlowDocumentViewer.cs (4)
226
textSelection.SetCaretToPosition(newTextSelection.AnchorPosition, newTextSelection.
MovingPosition
.LogicalDirection, true, true);
227
textSelection.ExtendToPosition(newTextSelection.
MovingPosition
);
565
textSelection.SetCaretToPosition(newTextSelection.AnchorPosition, newTextSelection.
MovingPosition
.LogicalDirection, true, true);
566
textSelection.ExtendToPosition(newTextSelection.
MovingPosition
);
System\Windows\Annotations\AnnotationHelper.cs (4)
528
selection.SetCaretToPosition(selection.
MovingPosition
, selection.
MovingPosition
.LogicalDirection, true, true);
963
selection.SetCaretToPosition(selection.
MovingPosition
, selection.
MovingPosition
.LogicalDirection, true, true);
System\windows\Documents\CaretElement.cs (1)
444
if (!_textEditor.Selection.
MovingPosition
.HasValidLayout && _textEditor.TextView != null && _textEditor.TextView.IsValid)
System\windows\Documents\TextEditorSelection.cs (12)
305
ITextPointer newMovingPosition = This.TextView.GetPositionAtNextLine(This.Selection.
MovingPosition
, suggestedX, +1, out newSuggestedX, out linesMoved);
394
ITextPointer newMovingPosition = This.TextView.GetPositionAtNextLine(This.Selection.
MovingPosition
, suggestedX, -1, out newSuggestedX, out linesMoved);
474
ITextPointer movingPointer = This.Selection.
MovingPosition
.CreatePointer();
525
ITextPointer movingPointer = This.Selection.
MovingPosition
.CreatePointer();
1331
ITextPointer movingPointer = This.Selection.
MovingPosition
.CreatePointer();
1372
ITextPointer movingPointer = This.Selection.
MovingPosition
.CreatePointer();
2036
ITextPointer position = textEditor.Selection.
MovingPosition
.CreatePointer();
2067
BringIntoView(textEditor.Selection.
MovingPosition
, textEditor);
2206
ITextPointer wordBoundary = textEditor.Selection.
MovingPosition
.CreatePointer();
2255
if (This.Selection.
MovingPosition
.CompareTo(innerMovingPosition) > 0)
2318
ITextPointer movingPosition = This.Selection.
MovingPosition
;
2361
if (end.CompareTo(This.Selection.
MovingPosition
) == 0)
System\Windows\Documents\TextParentUndoUnit.cs (2)
46
: this(selection, selection.AnchorPosition, selection.
MovingPosition
)
183
RecordRedoSelectionState(_selection.AnchorPosition, _selection.
MovingPosition
);
System\windows\Documents\TextSelection.cs (7)
256
ITextPointer movingPosition = ((ITextSelection)this).
MovingPosition
;
592
ITextPointer movingPosition = ((ITextSelection)this).
MovingPosition
;
661
return thisSelection.
MovingPosition
.GetNextInsertionPosition(direction);
1044
if (!TextRangeEditTables.IsTableCellRange((TextPointer)_anchorPosition, (TextPointer)((ITextSelection)this).
MovingPosition
, /*includeCellAtMovingPosition:*/false, out anchorCell, out movingCell))
1177
return (TextPointer)((ITextSelection)this).
MovingPosition
;
1720
((ITextSelection)this).
MovingPosition
.ValidateLayout();
2173
ITextPointer caretPosition = currentTextSelection.
MovingPosition
;
System\Windows\Documents\TextStore.cs (5)
344
selection[0].style.ase = (this.TextSelection.
MovingPosition
.CompareTo(this.TextSelection.Start) == 0) ? UnsafeNativeMethods.TsActiveSelEnd.TS_AE_START : UnsafeNativeMethods.TsActiveSelEnd.TS_AE_END;
685
ITextRange range = new TextRange(this.TextSelection.AnchorPosition, this.TextSelection.
MovingPosition
);
3549
int imeSelectionMovingOffset = this.TextSelection.
MovingPosition
.Offset;
3789
appSelectionMovingOffset = this.TextSelection.
MovingPosition
.Offset;
3816
appSelectionMovingOffset = this.TextSelection.
MovingPosition
.Offset;