Unbinding Alt-1 Does Not Work
Richard Kimberly Heck
rikiheck at gmail.com
Thu Jun 6 16:01:07 UTC 2024
On 6/6/24 11:21, Jean-Marc Lasgouttes wrote:
> Le 06/06/2024 à 16:50, Richard Kimberly Heck a écrit :
>> I assume there is also ~C? Does that ever get used? It's not in any
>> of our files, only ~S. Allowing for the possibility of something like
>> C-~S-~A-8 is not going to be trivial, so I'm wondering if we could
>> change that.
>
> I guess that everything exists in general, but only ~S matters. Isn't
> it just a matter of defining an equality function that takes this into
> account?
>
> Where is the relevant code?
It's hard to say. Some of it is definitely in KeyMap.* and
KeySequence.*, but the unbind shortcut handling is more in GuiPrefs.*.
It's possible that it is enough to change KeySequence::print, which
seems to ignore ~S and the like, but I haven't experimented with it.
Riki
More information about the lyx-devel
mailing list