Community
Participate
Working Groups
When looking up a binding, return the binding for the most specific scheme (child scheme) when found. Correctly find conflicts when applying model changes by only looking in the matching binding table. PW
I have a fix that allows the keybindings to correctly pick up a child scheme overriding a parent scheme. http://git.eclipse.org/c/platform/eclipse.platform.ui.git/commit/?h=pwebster/bug375762&id=4e9dcd46a011d4bee52385174fed97325b2ff08d Eric, Oleg, could you please review? A testcase would be to create a binding for CTRL+5, A in "In Windows", and then a binding to a different command in the emacs scheme in "In dialogs and windows". The second keybinding should beat the first, even though windows is a child of dialogAndWindows. John, could I have you look at the fix as well? PW
Sorry to have to drag you into keybindings, John, but could you review this? PW
The patch works for me. Couple tiny nitpicks: - Is it possible to have null schemeIDs inBindingTableManager#compareSchemes() ? - Typo in #compareSchemes() Javadoc: * Returns an in based on scheme 1 < scheme 2
I spent the whole day reviewing fixes and still didn't get to this one. Eric if you get to it first tomorrow, go ahead and review. Otherwise I'll try getting to it tomorrow.
I'm not expert in the keybindings, but the changes makes sense in my reading, and I haven't encountered issues in my tests. So +1 from me.
Fixed with http://git.eclipse.org/c/platform/eclipse.platform.ui.git/commit/?id=4e9dcd46a011d4bee52385174fed97325b2ff08d PW
In I20120523-1900 PW