2 writes to UndoLimit
PresentationFramework (2)
src\Framework\System\Windows\Controls\Primitives\TextBoxBase.cs (2)
1533
undoManager.
UndoLimit
= this.UndoLimit;
1778
undoManager.
UndoLimit
= limit;
13 references to UndoLimit
PresentationFramework (13)
src\Framework\MS\Internal\Documents\UndoManager.cs (13)
468
if (++_topUndoIndex ==
UndoLimit
)
473
&& (
UndoLimit
== -1 || UndoStack.Count <
UndoLimit
))
481
if (++_bottomUndoIndex ==
UndoLimit
)
744
for (i = _bottomUndoIndex; i <
UndoLimit
; i++)
789
if (
UndoLimit
>= 0 && _topUndoIndex >=
UndoLimit
)
791
List<IUndoUnit> undoStack = new List<IUndoUnit>(
UndoLimit
);
793
for (int i = _topUndoIndex + 1 -
UndoLimit
; i <= _topUndoIndex; i++)
800
_topUndoIndex =
UndoLimit
- 1;
922
count = _topUndoIndex + (
UndoLimit
- _bottomUndoIndex) + 1;
1170
Invariant.Assert(
UndoLimit
> 0);
1171
_topUndoIndex =
UndoLimit
- 1; // This should never be possible with an unlimited stack