#DOCUMENTATION by mawalch
class: UndoSupport
comment/format in: #closeTransactionAndAddTo:
--- a/UndoSupport.st Mon May 22 12:21:49 2017 +0200
+++ b/UndoSupport.st Mon May 22 12:48:18 2017 +0200
@@ -142,7 +142,7 @@
"at the end of an operation, check the individual undo actions
and add them to the given undoList.
(either individually or as a compound undo action).
- Check if the new action(s) can be combined with the previous und action into one
+ Check if the new action(s) can be combined with the previous undo action into one
(this is done for individual keystrokes and character-deletions)"
|anythingToUndo actionToAdd lastAction canCombine|
@@ -192,6 +192,8 @@
].
infoOfCurrentTransaction := nil.
transaction := nil
+
+ "Modified (comment): / 22-05-2017 / 12:48:07 / mawalch"
!
executeActionFrom:doList addUndoTo:unDoList