On Wed, Mar 3, 2010 at 1:54 PM, Ville M. Vainio <[email protected]> wrote: > On Wed, Mar 3, 2010 at 8:34 PM, Edward K. Ream <[email protected]> wrote: > >> No doubt you will think all this is way too complex. It is, but there >> are reasons why it is the way it is. Simplifying it would not be >> easy. Unlike many programs, Leo must grab all characters that are >> bound anywhere. > > Actually, I have an idea for a pretty good simplification - well, it's > not so much about simplification but reliability. > > I have suggested something similar before, but bear with me as this > has a new twist: > > - When you have QKeyEvent, look at the input character (QKeyEvent::text()). > - If it's a normal ascii character (code 33-176), enter it as-such.
That's out of the question, at least in qtGui.py. That would make it impossible, for example, to support vim bindings, and would cause many other problems as well. Edward -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/leo-editor?hl=en.
