On Tue, 6 Nov 2012 09:14:24 -0600
"Edward K. Ream" <[email protected]> wrote:

> > Thank you, that's just great! Works for me, no problems so far. Although I
> > keep wondering why there's no hook like "onHeadlineEditingFinished"...  
> 
> There is such a hook.  It is called "headkey2".  For exact details of
> how this works, see onHeadChanged in leoTree.py.  Note that this hook
> can be called even if no actual change has been made to the headline.

It looks like that's called after every keystroke, which would be
inappropriate timing for wrapping the text, I would think, although it
might work.  OP wanted something called on the transition from edit to
non-edit state I think.

Cheers -Terry

-- 
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