1. Using wrapper classes for text editing
The present Qt gui is, iirc, Leo's fourth gui. Two preceded Leo in python.
Previously, the python version of Leo used the much weaker Tk gui.
The pyzo code shows just how big a price Leo has paid for the wrapper text
abstraction layer. Otoh, having a standard text widget greatly simplifies the
curses gui plugin. Still, the text wrappers do complicate matters significantly.
I wouldn't be in a huge rush to eliminate wrappers. I'm not sure if they're at
the right level of abstraction, but a good wrapper level could be very valuable
in moving towards three functional UIs, Qt, HTML/javascript, and curses. Maybe
there are idioms other than wrappers that would work equally well - more use of
the leoServer model perhaps.
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.