On Thu, Apr 2, 2009 at 6:23 PM, Jesse Aldridge <[email protected]>wrote:

>
>
> I'm trying to delete all the nodes in the current outline from a
> script button.
> But I keep getting a "BdbQuit" exception.
> What does this mean?  And is this a Leo bug or my bug?
>
> Here's my test case, just hit the button:
>
> http://dl.getdropbox.com/u/135901/clear.leo


You are getting this because you are dropping into g.pdb from _unlink.  This
is a "can not happen" case.

For details, run Leo from a console.

>
>
> Oh, also I wasn't sure what to pass as the position parameter for
> u.afterDeleteNode.  What should I pass there?


A valid, existing position.

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