On Feb 25, 8:33 pm, "Edward K. Ream" <[email protected]> wrote:

> I'll let you know as bugs bite the dust.

A major annoyance has been fixed at rev 1617 of the trunk.  Here is
the checkin message:

QQQ
Fixed the long-standing "comment" bug.  Hurray!

The problem was a call to match_mark_previous in the Python colorer.
The solution, perhaps not completely correct, is to clear self.prev in
recolor. So this happened not because of Qt at all, but because
self.prev was not cleared during incremental coloring.

It's now clear why the bug was "intermittent": comments had to look
like a function call to trigger it! For example, the bug happened when
removing the '#' on this line::

      # g.trace(whatever)

All unit tests pass.
QQQ

Edward

P.S. There are still some minor problems with selecting headlines.
It's bearable, however.

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