2 writes to UndoLimit
PresentationFramework (2)
System\Windows\Controls\Primitives\TextBoxBase.cs (2)
1500
undoManager.
UndoLimit
= this.UndoLimit;
1741
undoManager.
UndoLimit
= limit;
13 references to UndoLimit
PresentationFramework (13)
MS\Internal\Documents\UndoManager.cs (13)
430
if (++_topUndoIndex ==
UndoLimit
)
435
&& (
UndoLimit
== -1 || UndoStack.Count <
UndoLimit
))
443
if (++_bottomUndoIndex ==
UndoLimit
)
702
for (i = _bottomUndoIndex; i <
UndoLimit
; i++)
747
if (
UndoLimit
>= 0 && _topUndoIndex >=
UndoLimit
)
749
List<IUndoUnit> undoStack = new List<IUndoUnit>(
UndoLimit
);
751
for (int i = _topUndoIndex + 1 -
UndoLimit
; i <= _topUndoIndex; i++)
758
_topUndoIndex =
UndoLimit
- 1;
880
count = _topUndoIndex + (
UndoLimit
- _bottomUndoIndex) + 1;
1128
Invariant.Assert(
UndoLimit
> 0);
1129
_topUndoIndex =
UndoLimit
- 1; // This should never be possible with an unlimited stack