8 references to LastUnit
PresentationFramework (8)
MS\Internal\Documents\UndoManager.cs (3)
213
if (unit !=
LastUnit
)
431
if (
LastUnit
is IParentUndoUnit)
433
((IParentUndoUnit)
LastUnit
).OnNextAdd();
System\Windows\Controls\Primitives\TextBoxBase.cs (2)
376
else if (undoManager.
LastUnit
is IParentUndoUnit)
378
((IParentUndoUnit)undoManager.
LastUnit
).OnNextAdd(); // Should IParentUndoUnit have a Lock() instead, now that Undo is internal?
System\Windows\Documents\ImmComposition.cs (1)
1779
if (_compositionUndoUnit != null && _compositionUndoUnit == undoManager.
LastUnit
&& !_compositionUndoUnit.Locked)
System\windows\Documents\TextEditorTyping.cs (2)
1805
if (This._typingUndoUnit != null && undoManager.
LastUnit
== This._typingUndoUnit && !This._typingUndoUnit.Locked)
1830
if (This._typingUndoUnit != null && undoManager.
LastUnit
== This._typingUndoUnit && !This._typingUndoUnit.Locked)