Implementing UNDO

Klaus major-k klaus at
Fri May 21 10:52:46 EDT 2021

Hi Mark,

> Am 21.05.2021 um 16:42 schrieb Mark Wieder via use-livecode <use-livecode at>:
> On 5/21/21 6:19 AM, Klaus major-k via use-livecode wrote:
>> OK, something like this, but for graphics, images etc., too. 8-)
>> Some general hints will be OK.
>> Except for TEXT I don't have a clue yet.
>> Maybe store "the properties of xyz" and re-apply them when the user hits CMD-Z?
> I've got an undo library on livecodeshare. It's designed to handle text, but the filo stack mechanism would probably work if you store something other than text as blobs. Untested, but maybe. My guess is this would use up memory rapidly.
> ...and from experience, don't try to compress/decompress arrays.

thank you, will download and check the stack.

> -- 
> Mark Wieder
> ahsoftware at



Klaus Major
klaus at

More information about the use-livecode mailing list