4 writes to _anchorPosition
PresentationFramework (4)
src\Framework\System\windows\Documents\TextSelection.cs (4)
1870_anchorPosition = null; 1880_anchorPosition = anchorPosition.GetInsertionPosition(anchorPosition.LogicalDirection); 1885_anchorPosition = thisSelection.Start.GetFrozenPointer(_anchorPosition.LogicalDirection); 1889_anchorPosition = thisSelection.End.GetFrozenPointer(_anchorPosition.LogicalDirection);
12 references to _anchorPosition
PresentationFramework (12)
src\Framework\System\windows\Documents\TextSelection.cs (12)
401Invariant.Assert(this.IsEmpty || _anchorPosition != null); 402Invariant.Assert(_anchorPosition == null || _anchorPosition.IsFrozen); 403return this.IsEmpty ? ((ITextSelection)this).Start : _anchorPosition; 1044Invariant.Assert(_anchorPosition != null); 1047if (!TextRangeEditTables.IsTableCellRange((TextPointer)_anchorPosition, (TextPointer)((ITextSelection)this).MovingPosition, /*includeCellAtMovingPosition:*/false, out anchorCell, out movingCell)) 1089TextRangeBase.Select(this, _anchorPosition, movingPosition); 1092SetActivePositions(_anchorPosition, movingPosition); 1883if (_anchorPosition.CompareTo(thisSelection.Start) < 0) 1885_anchorPosition = thisSelection.Start.GetFrozenPointer(_anchorPosition.LogicalDirection); 1887else if (_anchorPosition.CompareTo(thisSelection.End) > 0) 1889_anchorPosition = thisSelection.End.GetFrozenPointer(_anchorPosition.LogicalDirection);