Skip to content

Commit f1ade47

Browse files
committed
Fix grouping
1 parent 1792167 commit f1ade47

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

Sources/CodeEditTextView/Utils/CEUndoManager.swift

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,14 @@ public class CEUndoManager {
4040
parent?.redo()
4141
}
4242

43+
public override func beginUndoGrouping() {
44+
parent?.beginGrouping()
45+
}
46+
47+
public override func endUndoGrouping() {
48+
parent?.endGrouping()
49+
}
50+
4351
public override func registerUndo(withTarget target: Any, selector: Selector, object anObject: Any?) {
4452
// no-op, but just in case to save resources:
4553
removeAllActions()

0 commit comments

Comments
 (0)