Merge pull request #2299 from prtksxna/colorauth
Add keyboard shortcut to Clear Authorship Colors. Fixes #2292pull/2303/head
commit
e1fe1f0f9c
|
@ -3765,6 +3765,12 @@ function Ace2Inner(){
|
|||
doInsertOrderedList()
|
||||
specialHandled = true;
|
||||
}
|
||||
if ((!specialHandled) && isTypeForCmdKey && String.fromCharCode(which).toLowerCase() == "c" && (evt.metaKey || evt.ctrlKey) && evt.shiftKey) {
|
||||
// cmd-shift-C (clearauthorship)
|
||||
fastIncorp(9);
|
||||
evt.preventDefault();
|
||||
CMDS.clearauthorship();
|
||||
}
|
||||
if ((!specialHandled) && isTypeForCmdKey && String.fromCharCode(which).toLowerCase() == "h" && (evt.ctrlKey))
|
||||
{
|
||||
// cmd-H (backspace)
|
||||
|
|
Loading…
Reference in New Issue