Permalink
Browse files

fix save command

  • Loading branch information...
1 parent 4b1af53 commit eeaf7bdbe7db7d91226a5c3aaa01ad789ca45015 @nightwing nightwing committed Jan 5, 2012
Showing with 1 addition and 4 deletions.
  1. +1 −4 chrome/content/ace++/startup.js
@@ -533,18 +533,16 @@ exports.launch = function(env, options) {
bindKey: {
win: "Ctrl-S",
mac: "Command-S",
- sender: "editor"
},
exec: function(editor) {
aceManager.saveFile(editor, "session")
}
});
canon.addCommand({
- name: "save",
+ name: "save-as",
bindKey: {
win: "Ctrl-Shift-S",
mac: "Command-Shift-S",
- sender: "editor"
},
exec: function(editor) {
aceManager.saveFile(editor, "picker")
@@ -555,7 +553,6 @@ exports.launch = function(env, options) {
bindKey: {
win: "Ctrl-O",
mac: "Command-O",
- sender: "editor"
},
exec: function(editor) {
aceManager.loadFile(editor)

0 comments on commit eeaf7bd

Please sign in to comment.