On Tue, Jan 24, 2017 at 9:21 AM, Edward K. Ream <[email protected]> wrote:
Start with k.makeMasterGuiBinding. After you are through retching, you > should be able to continue. > The essence of the code is that everything should work if the the new widget has a wrapper. So in that sense the code isn't crappy at all. And Leo's QTextEdit/QTextBrowser body widget *must* have a wrapper so that Leo's commands will work. In short, everything should just work if you create the proper wrapper for the new widget. leo/plugins/qt_text.py contains most of the relevant classes. leoFrame.py contains the LeoBody class. I don't remember any of the details. You'll have to do what I would do, and search for the places where the relevant classes get instantiated. Please feel free to ask any questions as they arise. 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.
