On Mon, 5 Mar 2018 12:45:47 -0800 (PST)
vitalije <[email protected]> wrote:

> Making vnodes able to emit 
> notifications to all interested parties about what exactly has
> changed will greatly reduce amount of unnecessary redrawing and that
> is where I expect greater speed boost to come.

This sounds like it's relevant to
https://github.com/leo-editor/leo-editor/issues/465
although actually that issue has less relevant discussion than I
thought.

Briefly, for the leo-edit-pane (LEP)project
https://github.com/leo-editor/leo-editor/issues/778

I added a simplistic signal manager
https://github.com/leo-editor/leo-editor/blob/master/leo/core/signal_manager.py

which is currently emitting a signal used by LEP
https://github.com/leo-editor/leo-editor/blob/master/leo/core/leoNodes.py#L2550
from vnodes on body text changes.

Although I'm wondering if more of this approach is used it would be
better to switch to https://pypi.python.org/pypi/blinker

I vote against Qt signals because I could see this architecture wanting
to work in non-Qt contexts.

Cheers -Terry

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

Reply via email to