On Tue, Jan 10, 2017 at 1:23 PM, Mike Hodson <[email protected]> wrote:
I must ask, with all this extending to great big new things, all I've
> wanted from Leo for over a year now is the ability for it to save a file
> without causing the entire user interface to redraw itself.
>
The redraw happens because icons must be redrawn. This is done via a call
to c.redraw_after_icons_changed() in fc.save.
However, the todo.py plugin does cause a full redraw on each save, via the
todoController.redraw method. Perhaps that method could do the following
instead:
c.redraw_after_icons_changed()
c.outerUpdate()
Tracing confirms that no other redrawing happens as the result of a save
command.
> how hard is it to decouple the UI from the gears behind it,
>
The two are decoupled already.
vs adding all this new cruft?
>
You can always complain about performance issues without having to
denigrate new directions. Bug fixes and new work proceed on a relatively
equal footing.
Edward
--
You received this message because you are subscribed to the Google Groups
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.