feature(key) add help call on "?"

This commit is contained in:
coderaiser 2014-01-22 02:44:58 -05:00
parent 535ca32750
commit 24bea9682d

View file

@ -49,6 +49,7 @@ var CloudCmd, Util, DOM;
F9 : 120,
F10 : 121,
SLASH : 191,
TRA : 192 /* Typewritten Reverse Apostrophe (`) */
};
@ -221,6 +222,13 @@ var CloudCmd, Util, DOM;
DOM.shrinkSelection();
break;
case Key.SLASH:
if (lShift) {
Util.exec(CloudCmd.Help.show);
DOM.preventDefault(pEvent);
}
break;
case Key.F1:
Util.exec(CloudCmd.Help.show);
DOM.preventDefault(pEvent);