1 write to UndoLimit
PresentationFramework (1)
System\Windows\Controls\Primitives\TextBoxBase.cs (1)
1671
undoManager.
UndoLimit
= limit;
14 references to UndoLimit
PresentationFramework (14)
MS\Internal\Documents\UndoManager.cs (13)
429
if (++_topUndoIndex ==
UndoLimit
)
434
&& (
UndoLimit
== -1 || UndoStack.Count <
UndoLimit
))
442
if (++_bottomUndoIndex ==
UndoLimit
)
701
for (i = _bottomUndoIndex; i <
UndoLimit
; i++)
746
if (
UndoLimit
>= 0 && _topUndoIndex >=
UndoLimit
)
748
List<IUndoUnit> undoStack = new List<IUndoUnit>(
UndoLimit
);
750
for (int i = _topUndoIndex + 1 -
UndoLimit
; i <= _topUndoIndex; i++)
757
_topUndoIndex =
UndoLimit
- 1;
879
count = _topUndoIndex + (
UndoLimit
- _bottomUndoIndex) + 1;
1127
Invariant.Assert(
UndoLimit
> 0);
1128
_topUndoIndex =
UndoLimit
- 1; // This should never be possible with an unlimited stack
System\Windows\Controls\Primitives\TextBoxBase.cs (1)
1443
undoManager?.
UndoLimit
= this.UndoLimit;