On Sunday, August 9, 2020 at 8:40:54 AM UTC-5, Edward K. Ream wrote: > This Engineering Notebook post discusses how to accelerate the speed of g.findLanguageDirectives.
The general idea seems to work. The clones branch some new code. BUT... Leo's base jEdit colorizer does not use g.findLanguageDirectives directly. See "bjc.scanLanguageDirectives & helpers". There is a substantial (and essential) complication: nodes containing more than one @language directive do not determine the language in effect for their descendants. In short, the new code will likely involve some refactoring. 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 on the web visit https://groups.google.com/d/msgid/leo-editor/f9daf324-57b6-4d2c-989b-cef22f069e18o%40googlegroups.com.
