On Jan 28, 5:37 pm, "Edward K. Ream" <[email protected]> wrote:

> We are getting close to a fix...

A complete fix for the headline reversion problem is on the trunk at
rev 1445.  All unit tests pass with both tk and qt.

Clearly, this was a focus issue.  Focus disappeared from the headline
edit widget when focus moved to the minibuffer, so onHeadChanged
failed to save changes.

The solution was unexpected and easy.  nativeTree.onHeadChanged looks
at the regular tree item's text if there is no edit widget, and
updates p.h using whatever widget is available.  In retrospect, this
is an obvious solution.  It should be absolutely reliable. As a result
of this simplification and generalization, nativeTree.endEditLabel can
simply call onHeadChanged.

So it looks like this bug has been squashed.

Alas, as I'll explain on another thread, a far worse bug has appeared.

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