On May 10, 10:11 am, "Edward K. Ream" <[email protected]> wrote:
> In this thread I shall attempt to explain everything my successor will
> need know about Leo in order to carry on after I am gone.  

Part of this project will be to go back through previous posts looking
for raw materials for this project.  There is a lot of good stuff
there, but it needs to be found, edited and organized.

For example, here is my favorite comment of all time to one of my
posts.  From Ville:

    Now that was one damn fine checkin...

I remembered the sense of it, but not the exact words.  I knew it
concerned syntax coloring, but I had forgotten what the subject of the
comment was.  After searching for awhile, I finally found it in the
thread "configure_tags killing performance":

QQQ
Rev 2119 contains what appears to be a major improvement in speed:

- leoQTextEditWidget.SetAllText now sets a lockout that prevents a
duplicate recoloring of text.
  This doubles the speed of the syntax colorer, and almost doubles the
speed of unit tests!

- updateSyntaxColorer and colorize set self.flag = False for large
body text.
  This doesn't prevent recolor from being called, but it does short-
circuit recolor.

And yes, configure_tags is called only by the ctor, that is, just
once.
QQQ

This will be part of the docs for the syntax colorer.

Edward

P.S.  As I find appropriate posts I am marking them with a gmail tag
so I can find them more quickly later.

EKR

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/leo-editor?hl=en.

Reply via email to