Multiple undo and redo

Marielle Lange mlange at widged.com
Sun Feb 18 18:06:50 EST 2007


> Ben Fisher wrote:
>> In the Script Editor as well as in the form designer (for lack of a
>> better term).
>> In fact, while designing forms, even basic Undo itself does not seem
>> to work. I'm using beta 2.8. Create a new stack. Create two buttons.
>> Delete one of the buttons. Go Edit->Undo, and nothing happens.  
>> Imagine
>> if this button had all the scripts for your application. This is a
>> problem.
>
> Have you ever implemented Undo for a scripted application?

Let's avoid the old mode of answer. Agreed, implementing redo and  
undo efficiently is not an easy task. However, Ben's comment was  
adequate. This happened to me several times. Not because I  
intentionally pressed delete. Because I was within the property  
palette and press delete to erase some text... and it rather erased  
the control.

That's one of the reason I systematically use STS/MLX excellent  
editor. <http://www.sonsothunder.com/devres/revolution/downloads/ 
stsMLXEditor.htm>
That way, my script gets preserved even if I accidentally delete a  
control on screen (provided I was editing it, of course). And I can  
have a huge number of undo/redo under textmate (I am on a mac).

Marielle




More information about the use-livecode mailing list