On Nov 11, 8:16 am, "Edward K. Ream" <[EMAIL PROTECTED]> wrote:

> I continue to tweak the key-handling code--there are quite a few
> special cases.  Eventually the "jiggling" will die out.

Today saw several more tweaks.  In particular, eventFilter must pass
all normal characters to k.masterKeyHandler so that onBodyChanged will
be called.  Otherwise, typing in the body pane can be lost.

> The QTreeWidget is highly stressed by the unit tests, which is not
> surprising considering that Leo is asking for hundreds of redraws.

I removed a call to full_redraw in redraw_after_select.  I'm not sure
why I put that call in, but it causes far too many redraws.  The find
logic now calls redraw, so all should work well.  In any event, redraw-
on-select will never be good.

> just a bit more works should make all unit tests pass.

Only 9 unit tests now fail, most involving
k.manufactureKeyPressForCommandName, which calls
g.app.gui.event_generate.  I may bypass event_generate entirely for
the qt plugin.  Anyway, we are getting close.

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