On Sun, Oct 6, 2013 at 10:08 PM, Terry Brown <[email protected]>wrote:
> On Sun, 6 Oct 2013 21:21:00 -0500 > "Edward K. Ream" <[email protected]> wrote: > > > > The answer to your question is kinda yes and no. You can't completely > > remove a shortcut, but you can assign it to another command. > > > Would it be easiest to just make it possible to completely remove a > binding, as in > > None = Alt-Ctrl-E > > and avoid all the other problems? > No. The binding code is fantastically complex. That's why I am excited about minibuffer bindings. If they cold replace @mode, a lot of difficult code in Leo's key-handling machinery would go away. Furthermore, leoEditCommands.selfInsertCommand doesn't work for Alt-Ctrl keys (Alt-Gr keys), so it has to be fixed, regardless of how it gets called. Btw, this will be done by having selfInsertCommand call a new g.app.insertKeyEvent method. This avoids changing any existing code, and avoids defining a new method in the HighLevelInterface class. 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 http://groups.google.com/group/leo-editor. For more options, visit https://groups.google.com/groups/opt_out.
