On Tue, Oct 21, 2008 at 1:30 AM, Edward K. Ream <[EMAIL PROTECTED]> wrote:

> The commander now has methods such as:
>
> def redraw_after_icons_changed(self):
>    return self.frame.tree.redraw_after_icons_changed()

I suppose you will use the current position as indicator where the
modification happens?


> (demand) that the entire tree be updated.  This will likely be done by
> drawing only the visible widgets, in which case
> tree.redraw_after_expand has got some real work to do.

Why not just create only the child nodes on expand?

> P.S. I fixed a failed unit tests that was complaining that insert-
> headline was drawing the screen twice, and it was.  This must be a
> recent change, though I have no memory of it.  Oh well, there will be
> plenty more hacks to come :-)

It does redraw-now before starting editing. Perhaps it does a
redundant redraw after it...

Perhaps you should start your hackage with full redraw of visible
nodes? It may be fast enough to implement other, more optimized
redraws in a more leisurely fashion ;-)

-- 
Ville M. Vainio
http://tinyurl.com/vainio

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