allow chrome to use control shift 1 to send ordered list

pull/2643/head
John McLear 2015-04-28 15:48:12 +01:00
parent e1406b826b
commit dbb2956d2f
1 changed files with 1 additions and 1 deletions

View File

@ -3900,7 +3900,7 @@ function Ace2Inner(){
doInsertUnorderedList()
specialHandled = true;
}
if ((!specialHandled) && isTypeForCmdKey && String.fromCharCode(which).toLowerCase() == "n" && (evt.metaKey || evt.ctrlKey) && evt.shiftKey)
if ((!specialHandled) && isTypeForCmdKey && (String.fromCharCode(which).toLowerCase() == "n" || String.fromCharCode(which) == 1) && (evt.metaKey || evt.ctrlKey) && evt.shiftKey)
{
// cmd-shift-N (orderedlist)
fastIncorp(9);