On May 15, 6:57 am, "Edward K. Ream" <[EMAIL PROTECTED]> wrote:

> This morning I saw that the easy way to ensure all event handlers
> eventually call c.outerUpdate is to change all calls to w.bind(a,b)
> into c.bind(w,a,b)

This change has been made throughout Leo's core in the key-handling
branch.  All unit tests now pass with g.newDrawing = True.  A few unit
tests needed to be modified: in each case I added one or two calls to
c.outerUpdate.  This was expected.

I am eating my own dog food without ill effects.  The success of unit
testing means I shall soon change x.bind(a,b) to c.bind(x,a,b) in all
plugins.  In many cases, the additional wrapping given by c.bind is
overkill, but that is not important.

So in less than 24 hours the new drawing code has become a tested
reality.

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