Fixes #11, but may revert if this proves inconvenient.

This commit is contained in:
Thomas Wilburn 2013-09-05 08:28:40 -07:00
parent af0e0bb743
commit 6a9b75019a
2 changed files with 2 additions and 0 deletions

View file

@ -57,6 +57,7 @@ define(["file", "command", "settings!ace,user", "dom2"], function(File, command,
command.on("editor:theme", function(theme) {
editor.setTheme("ace/theme/" + theme);
editor.focus();
});
//disable focusing on the editor except by program

View file

@ -287,6 +287,7 @@ define([
command.on("session:syntax", function(mode) {
editor.getSession().setMode("ace/mode/" + mode);
editor.focus();
});
command.on("session:new-file", function() { addTab() });