On Tue, Dec 7, 2010 at 3:05 PM, Bob Hossley <[email protected]> wrote:

> When the pop-up occurs, the focus setting code is ineffective and the
> focus is always left in the body--not in the clone_nav tab as intended.

Focus can be very tricky in Leo.  Many commands and functions set the
focus to the body pane.

There are several settings that trace parts of the focus machinery.
See leoSettings.leo, the node:

@settings-->Debugging

I suggest you enable these to see what Leo may be doing behind the scenes.

The actual focus methods are in leoPy.leo, the node:

Code-->Core classes-->@file leoCommands.py-->class commands-->Drawing
Utilities (commands)-->c.get/request/set_focus

You must leave these methods strictly unchanged, but it may help to
see what is really going on.

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