[LyX/master] Do not override (Back)Tab in Adv F&R when it is useful
Jean-Marc Lasgouttes
lasgouttes at lyx.org
Tue Jul 19 08:10:04 UTC 2022
Le 18/07/2022 à 14:44, Kornel Benko a écrit :
>history. I think it is a design error. Looks good (if used manually). I never unbound a key in tests. Have to prepare the
> scripts.
> Also I have to know the binding, like
> \unbind "Tab" "command-alternatives
> completion-accept;cell-forward;tab-insert;outline-in;depth-increment"
>
> which makes the 'unbind' inflexible if used in keytest.py
I have no idea why unbind can request to give the value. There is no
reason in git hostory; this looks like a design mistake.
It is trivial to remove the test for the value that is passed. The best
would be to transform syntax from
\unbind "sequence" "func"
to
\unbind "sequence"
However, I am not sure how to implement the prefs2prefs part, firstly
because one have to handle quotes (or absence thereof) and spaces and
secondly because I am bad at python.
So do we want to do this for 2.4? I can do all the non-python part.
JMarc
More information about the lyx-devel
mailing list