TheBigUndo is a module that allows RealStudio developers to add undo/redo functionality to their projects with little effort yet can be fully customized to provide undos for difficult situations.
To Add TheBigUndo to a project, just drag the module and the CustomUndo Interface to the project pane and add TheBigUndo.init to the app's open event. This will provide basic undo functions to most controls.
Undos are created via an automatic check loop by default, but can also be manually triggered. Undo check timing can be adjusted or the undo loop can be prevented from running at all by passing -1 to initUndo or by setting UndoPeriod to -1.
Class extensions provide simple access to features like control.UpdateUndoStateNow which can be used for manual updates, or to make the state current before a call to control.DeleteUndos
Windows and Custom controls can be given undo functionality by utilizing the CustomUndo class interface
Thanks for trying TheBigUndo!
This software is distributed as-is. Use of this software is without warranty, written or implied. This software and it's source code are the exclusive intellectual property of piDog Software.
Purchase of a license allows you to include TheBigUndo and TheBigUndoPreferencesWindow in your projects and products. A Single User License means one user under one licensed copy of RealStudio at one time. Multi-User licenses are also available.
Any attempt to reverse-engineer TheBigUndo, attempt to circumvent encryption or licensing or sharing of license keys will be considered a violation of the license agreement and may be a violation of copyright. piDog Software reserves the right to terminate a violator's license(s).
Sets the maximum number of undo actions to be recorded
Sets the maximum number of undo's to be recorded for a given control.
Sets the maximum number of undo's to be recorded for a given window.
Set this to true to exclude a control from the undo testing loop.
Set this to true to exclude a control from the undo testing loop.
Set this to true to exclude a window from the undo testing loop.
Set this to true to exclude a window from the undo testing loop.
Gets whether available undos cause the changed flag to be set for the window.
Sets whether available undos cause the changed flag to be set for the window.
Passing True will tag the Control for testing on the next loop when UndosAreManual has been set.
Passing True will tag the window for testing on the next loop when UndosAreManual has been set.