On Thu, Sep 4, 2014 at 10:08 AM, Edward K. Ream <edream...@gmail.com> wrote:

> It's not you.  The code is hosed.  It may be one line that got
> transliterated incorrectly in the reorg.

That's exactly what happened.  A recent rev fixed that bug, and
another rev makes add-editor work with the Scintilla widget.

That took some doing, none of it related to add-editor code itself.
All of Leo's code now uses g.isTextWidget and g.isTextWrapper, rather
than doing direct calls to isinstance.  Much better hiding of
knowledge.

In addition, the colorizer had to be disabled when using Scintilla.
It's not needed, and Scintilla uses a different flavor of document
than QTextEdit.  Sheesh.

Edward

P.S. Imo, it was a good thing to commit directly to master.  That way
you found the bug more quickly ;-)

EKR

-- 
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 leo-editor+unsubscr...@googlegroups.com.
To post to this group, send email to leo-editor@googlegroups.com.
Visit this group at http://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.

Reply via email to