Am Sun, 24 Jul 2022 19:36:43 +0200 schrieb Jean-Marc Lasgouttes <lasgout...@lyx.org>:
> > Le 24/07/2022 à 19:35, Jean-Marc Lasgouttes a écrit : > > Le 24/07/2022 à 13:00, Kornel Benko a écrit : > >> Use this in user.bind > >> \unbind "Tab" "message *" > >> (for the proposed '\unbind "Tab" "*"' is more to do) > >> > >> This seems to work. But the shortcut-dialog still shows the original > >> setting. > > > > With this patch, your can unbind "*" directly. This seems cleaner to me. > > > > But indeed I have no idea of how Prefs work... And since I use > > LFUN_UNKNOWN_ACTION as a wildcard, I suspect that the prefs code, which > > uses it for other reasons, will be also confused. > > > > JMarc > > > With the patch now. > > JMarc /usr2/src/lyx/lyx-git/src/KeyMap.cpp: In member function ‘lyx::KeyMap::ReturnValues lyx::KeyMap::readWithoutConv(const lyx::support::FileName&, lyx::KeyMap*)’: /usr2/src/lyx/lyx-git/src/KeyMap.cpp:337:16: error: ‘FunRequest’ has not been declared if (func == FunRequest::unknown) { ^~~~~~~~~~ FunRequest--> FuncRequest Also 'FuncRequest func = lyxaction.lookupFunc(cmd);' hid func from above (line 365) Same effect. Works, but the dialog does not honour the setting. Kornel
pgpChLeDpwnBS.pgp
Description: Digitale Signatur von OpenPGP
-- lyx-devel mailing list lyx-devel@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-devel