On Thu, Jan 22, 2009 at 9:04 AM, Ville M. Vainio <[email protected]> wrote:

>
> The more separation you can make between the core and gui you can
> make, the better (not least because it makes the code much easier to
> understand). Esp. the direction where core calls the gui should be minimal.


I agree.

However, the essential improvement was making tree.edit_widget stateless.
This eliminates the need for complex calculations that tried (and failed) to
keep widgets up-to-date.  Now, tree.edit_widget simply returns a wrapper for
the widget returned by treeWidget.itemWidget, or None if the headline isn't
being edited.

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