On Sun, Jan 31, 2010 at 9:39 AM, Terry Brown <[email protected]> wrote:

> I'm not convinced.  If a node is deleted and then something throws and 
> exception causing a c.redraw() at the end of a script to be missed, you can 
> have a deleted node still visible in the GUI, and madness follows.

This should not be a problem with Leo's official commands.  Indeed,
c.doCommand catches all exceptions, then calls c.outerUpdate() unless
there is a request that the window be closed.

For your own scripts, the pattern you suggest is reasonable.  Indeed,
many @test nodes use similar patterns.

Edward

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/leo-editor?hl=en.

Reply via email to