On May 19, 11:48 am, "Edward K. Ream" <[EMAIL PROTECTED]> wrote:
> On Mon, May 19, 2008 at 8:35 AM, TL <[EMAIL PROTECTED]> wrote:
>
> > Thanks for the help. I created a mode containing the following lines
> > to move to then next node:
> > --> goto-next-visible
> > --> edit-headline
> > It puts the node into the active command state but it doesn't exit the
> > "goto-next-visible-enter-command @mode.
> > I've tried using "--> exit-named-mode" and "--> enter-destination-
> > mode" but they move the focus to the body pane. Is there a way to
> > exit the mode and keep the focus in the node's headline?
>
> I'll hack together something :-)
Let me suggest two simple changes that might help. I'd rather not
make these changes in the trunk until you and I see whether they are
what you want. Also, focus issues are super tricky, and I don't
understand all the implications.
But the changes themselves are easy to make. In k.initMode and
k.reinitMode there are lines like this:
w = g.choose(k.silentMode,k.modeWidget,k.widget)
Just change them to:
w = k.modeWidget
Does this work for you in all cases? If so, you or I could commit it
to the trunk. But be *sure* to play with it for awhile before
deciding that it works, and do run all unit tests.
Thanks.
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
-~----------~----~----~----~------~----~------~--~---