On Monday, April 16, 2018 at 6:58:58 AM UTC-5, Edward K. Ream wrote: Yesterday's work demonstrates all the essential features of #423: Simplify > key handling with a new KeyStroke class. > <https://github.com/leo-editor/leo-editor/issues/423> >
Work is going well. It's time to test the "keys2" branch. Another day or two of straightforward work remain. The revised code reinstates MacOS alt-key definitions for special characters. Afaik, all MacOS work is now complete. I have just completed work on LeoQtEventFilter.eventFilter. It, and all its helpers are now *clearly* as simple as possible. Imo, this was very important work. I shall next turn my attention to g.KeyStroke.finalize_char. This contains text munging needed to reconcile user settings with Leo's core. Tk key names will always be valid in settings files, but now it's also possible to use more natural names. For example, "." instead of "period", etc. Dicts in finalize_char replace global dicts in leoKeys.py. Putting all the code in one place clarifies the meaning of these dicts. Iirc, Tk names already *have* disappeared from Leo's core. I'll remove these names if any still exist. 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. For more options, visit https://groups.google.com/d/optout.
