Note: this rewrite has no chance of curing the segfaults (#1212 <https://github.com/leo-editor/leo-editor/issues/1212>) that can happen during *startup. *That project will wait until 6.1, or later.
For the first time *ever*, the doEnter code is sound, and contains no egregious hacks: - It handles continued lines properly, including (for the first time) lines continued via trailing open parens. - It handles pasted code properly. - It properly groups statements before passing them to code.compile_command. - All unindented lines are compiled and run separately. - All indented lines are compiled and run as a group. - Uses Vitalije's functional style to reduce namespace pollution. Assuming you can enable this plugin without crashing, I would appreciate further testing. 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 post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/leo-editor. To view this discussion on the web visit https://groups.google.com/d/msgid/leo-editor/36e1627e-0041-4b2b-9170-7370ebed29a1%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
