On Friday, November 22, 2024 at 4:26:38 AM UTC-6 Edward K. Ream wrote: > The PR must still fix all semantic edge cases. In the end, everything will look effortless.
Recent revs have seen further collapses in complexity: For the first time in Leo's history, the all-important *html_rule4* now correctly colorizes all html elements. The delegation code in jedit.*colorRangeWithTag* is now: self.push_delegate(delegate) state = self.currentState() self.mainLoop(state, s, i, j) self.pop_delegate() This is how it is written in the book. *Summary* The new delegation patterns continue to simplify Leo's colorizers. Afaik, no ugly code remains. At 75 years old, I'm beginning to hit my stride. As the cricket players say, 75 not out. Edward -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion visit https://groups.google.com/d/msgid/leo-editor/5991085c-e85a-48eb-99dc-7bdf8983f0ebn%40googlegroups.com.
