Editor.End (gb.qt.ext)
Syntax
SUB End ( )
Ends an undo transaction.

All modification between a call to Begin and will be undone in one shot.