2014-10-08 9:43 GMT+02:00 Jean-Marc Lasgouttes <[email protected]>: > Le 08/10/2014 09:27, Jürgen Spitzmüller a écrit : > >> \bind "~S-ISO_Left_Tab" "cell-backward" >> >> Since ISO_Left_Tab itself is defined as Shift+Tab, ~S-ISO_Left_Tab is >> apparently interpreted as Shift+Shift+Tab = Tab, which results in the >> wrong binding of Tab to cell-backwards. >> >> See this discussion: >> http://marc.info/?l=lyx-users&m=141234899011761&w=2 >> >> Am I right that the binding should thus be changed to >> >> \bind "ISO_Left_Tab" "cell-backward" >> > > This is weird, doing this change should not be necessary ~S is supposed to > mean 'either with or without S pressed'. The official Qt name for this key > is BackTab. Does it work better? >
This made me check the sources, and I find in GuiKeySymbol::string_to_qkey: if (str == "ISO_Left_Tab") return Qt::Key_Tab; This is supposed to return Qt::Key_Backtab instead, no? (I have not checked yet) > Did you try to get some debug output? > Yes, I get immediately "cell-backwards" on hitting Shift-Tab. Also, the dialog displays the binding as "Tab". Jürgen > > JMarc >
