feature(edit) add save on F2

This commit is contained in:
coderaiser 2014-02-19 03:08:09 -05:00
parent a13363f51a
commit 331585aae8

View file

@ -139,6 +139,12 @@ var CloudCmd, Util, DOM, CloudFunc, ace, DiffProto, diff_match_patch;
exec : save
});
Ace.commands.addCommand({
name : 'saveMC',
bindKey : { win: 'F2', mac: 'F2' },
exec : save
});
ace.require('ace/ext/language_tools');
Modelist = ace.require('ace/ext/modelist');