On May 30, 10:51 am, "Edward K. Ream" <[email protected]> wrote:
> The scala.py file is absolutely bizarre. A few hours work doing a > complete rewrite will probably give you most of what you want. Glad I took a break. Clearly, rewriting modes/xxx.py files should be a last resort. Instead, it would be much more fruitful to get the match_mark_previous/following pattern matchers working. That way the work will carry over to all other colorizers. The down side is that new bugs also carry over :-) Besides match_mark_previous/following, scala.py is quite strange: the top-level ruleset contains just one rule. I'll check to see whether this is as indicated in the scala.xml file--there might be a bug in the jEdit2py script that creates scala.py from scala.xml. In any event, I'll use jEdit itself to show me what coloring to expect. Clearly, there are real bugs in Leo's colorizer, and the proper thing to do is fix them asap, not paper them over. The plan is to attempt a fix for b1, but I shall delay them to b2 if it turns out that implementing match_mark_previous/following breaks previously-working colorizers. 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.
