On Mon, Jun 29, 2009 at 3:18 AM, Edward K. Ream <[email protected]> wrote:

>
> On Sun, Jun 28, 2009 at 10:46 AM, Ville M. Vainio <[email protected]>wrote:
>
>>
>> Seems configure_tags is completely spoiling the party.
>
>
> Oops.  I did the opposite of what I intended.  The fix is easy, but I'm in
> the midst of applying a patch to disable coloring for large text. I'll up
> both soon.
>

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.

Please report any problems immediately.

Edward

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