RovoSoft today released 'MetroUndo Framework" into the public domain.
It is a REALBasic project containing a set of classes to easily add a very
stable and bugfree (or so I hope) Undo/Redo framework to your application.
When looking for examples, trying to learn how to go about adding undo/redo to
my current Metropolis project, I came across several examples, but all had
their own drawbacks. I stumbled upon Undo Toolkit, which (imho) had the basic
idea right, but its code was bloated and messy. It tries to do too many things
that too few people would ever need to use; plus it's GPL licensed, which is a
hurdle for many, if not most RB developers.
So, with the same concept in mind, I put away everything I had downloaded, and
started from scratch. The result is a very clean, bugfree (as far as I tested)
solution, which I am placing into the public domain.
I will link to it when I have my website updated at the release of Metropolis
for Windows, but for now, here is the direct link to download:
http://download.rovosoft.com/UndoFW.zip
It requires the elfdata.com/plugin. MetroUndo Framework uses the ElfData,
FastString and RingTree classes from the plugin. You could change the code to
remove this dependency, but you'd be hard pressed to keep it as clean and
simple as it is now.
Ronald Vogelaar
http://www.rovosoft.com
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>
|