tinymce.full.js
function (pattern, desc, cmdFunc, scope) {
        this.shortcuts.add(pattern, desc, cmdFunc, scope);
      }
function (pattern, desc, cmdFunc, scope) {
        this.shortcuts.add(pattern, desc, cmdFunc, scope);
      }
function ( pattern , desc , cmdFunc , scope ) { this . shortcuts . add ( pattern , desc , cmdFunc , scope ) ; }
Adds a keyboard shortcut for some command or function.

@method addShortcut
@param {String} pattern Shortcut pattern. Like for example: ctrl+alt+o.
@param {String} desc Text description for the command.
@param {String/Function} cmdFunc Command name string or function to execute when the key is pressed.
@param {Object} sc Optional scope to execute the function in.
@return {Boolean} true/false state if the shortcut was added or not.
Adds a keyboard shortcut for some command or function .