On Fri, 29 Jan 2010 08:24:05 -0800 (PST) "Edward K. Ream" <[email protected]> wrote:
> > Is it still good practice to do this: > > > try: > > <tree-view altering statements> > > finally: > > c.redraw > > No. There is no need. This cruft became obsolete more than a year > ago. 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. I suspect that any code the alters the outline is safer enclosed as above. Cheers -Terry -- 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.
