On Mon, Jun 15, 2009 at 2:04 PM, Edward K. Ream<[email protected]> wrote:
>
> Rev 2046 contains a few more bug fixes to the new colorizer.

....

Here's an example node that gets colored wrong with trunk:

Qt gui-->@thin qtGui.py-->Syntax coloring-->class jeditColorizer--><<
new jeditColorizer >>--> Birth & init-->addLeoRules


    table = (
        # Rules added at front are added in **reverse** order.
        ('@',  self.match_leo_keywords,True), # Called after all other
Leo matchers.
            # Debatable: Leo keywords override langauge keywords.
        ('@',  self.match_at_color,    True),
        ('@',  self.match_at_killcolor,True),

match_at_color is with comment color, while match_at_killcolor is ok (black).


-- 
Ville M. Vainio
http://tinyurl.com/vainio

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