On Wednesday, April 17, 2024 at 7:40:09 AM UTC-5 Edward K. Ream wrote: *Improving Leo's beautifier*
Yesterday's work created a list of *output tokens* from the corresponding list of *input tokens*. Leo's beautifier does the same. But Aha! A simpler architecture *might* work: - Don't generate whitespace input tokens! - *Lazily *generate the whitespace between tokens. The output list could be a list of [Python] strings. A quick review of leoTokens.py shows that this approach might work. See #3869 <https://github.com/leo-editor/leo-editor/issues/3869>. 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 leo-editor+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/leo-editor/f5abab66-b88d-4ebb-a972-f4dd2129724en%40googlegroups.com.