On Wednesday, May 3, 2017 at 4:18:00 AM UTC-5, Edward K. Ream wrote: Another post will discuss possible changes to how Leo handles keys > internally. >
The ideas are straightforward: 1. Replace Tk names internally with the corresponding (ascii!) values. In particular, replace "Tab" with '\t' and "Return" with '\n". It's not clear what to do with Ctrl-Return, etc. 2. Enhance or replace g.KeyStroke instances so that most/all "futzing" is done in the g.KeyStroke class rather than code scattered about leoKeys.py and qt-related files. 3. Simplify the horribly complex code that handles incoming key codes from the keyboard using the shift table. 4. Simplify various futzes using regular expressions. These changes would be major--on a par with the curses gui plugin. All the work would be done in a separate git branch. All comments welcome. 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.
