command_manager is no longer a singleton
This commit is contained in:
parent
8d0e1784e2
commit
c417dcd4e6
5 changed files with 136 additions and 180 deletions
|
|
@ -41,7 +41,6 @@
|
|||
define(function(require, exports, module) {
|
||||
|
||||
exports.launch = function(env) {
|
||||
var commands = require("ace/commands/command_manager");
|
||||
var event = require("pilot/event");
|
||||
var Range = require("ace/range").Range;
|
||||
var Editor = require("ace/editor").Editor;
|
||||
|
|
@ -554,6 +553,8 @@ exports.launch = function(env) {
|
|||
*/
|
||||
|
||||
// Fake-Save, works from the editor and the command line.
|
||||
var commands = env.editor.commands;
|
||||
|
||||
commands.addCommand({
|
||||
name: "save",
|
||||
bindKey: {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue