On Thu, Jun 12, 2008 at 8:37 AM, Edward K. Ream <[EMAIL PROTECTED]> wrote:
> > >> > > > 1: When you open a new leo frame from the menu, the new frame only >> has >> > > > a single New Headline node. When you click that node another New >> > > > Headline node appears. If you edit the first New Headline node the >> > > > headline text of the second node changes as well. If you edit the >> > > > second node the first node turns into and @chapters node. >> > The fix is now on the trunk, rev 532. This kind of bug really is the acid test for the new drawing code. In this case, I basically just punted and called c.redraw_now at the end of c.new. This is reasonable: c.outerUpdate will not be called by the usual mechanisms when c is the *new* commander. While I was at it, I got "greedy" and suppressed a previous redraw in c.new by using c.endUpdate(False). This contradicts a comment, but seems to work. (I suppose there could be problems with the old code, but that code is now deprecated.) Let me know if there are any problems. All unit tests pass, which is significant in this case. 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 -~----------~----~----~----~------~----~------~--~---
