On Thu, May 15, 2008 at 8:50 AM, Ville M. Vainio <[EMAIL PROTECTED]> wrote:
> > On Thu, May 15, 2008 at 4:23 PM, Edward K. Ream <[EMAIL PROTECTED]> > wrote: > > > This is an initialization problem. Plugins must be careful to load first > so > > they can set the gui. You can't be using the nullGui, because > > nullGui.get_focus is: > > > > def get_focus(self,frame): > > return self.focusWidget or (hasattr(frame,'body') and > > frame.body.bodyCtrl) or None > > Actually, it isn't. It's (in leo trunk): > > def get_focus(self,frame): > return self.focusWidget or frame.body.bodyCtrl > > (leoGui.py, line 546) > > And this causes the crash. I see. Apparently I made a recent change to nullGui.getFocus in the key-handling branch. The code I suggested should work. Feel free to modify the trunk. 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 -~----------~----~----~----~------~----~------~--~---
