style improvements
This commit is contained in:
parent
a399d1440a
commit
f6f475747b
10 changed files with 243 additions and 233 deletions
|
|
@ -155,7 +155,7 @@ env.editor.commands.addCommands([{
|
|||
bindKey: "ctrl+enter",
|
||||
exec: function(editor) {
|
||||
try {
|
||||
var r = eval(editor.getCopyText()||editor.getValue());
|
||||
var r = window.eval(editor.getCopyText()||editor.getValue());
|
||||
} catch(e) {
|
||||
r = e;
|
||||
}
|
||||
|
|
@ -559,7 +559,7 @@ ace.commands.bindKey("Tab", function(editor) {
|
|||
editor.execCommand("indent");
|
||||
})
|
||||
|
||||
var Autocompleter = require("ace/autocomplete").Autocomplete;
|
||||
Autocompleter.addTo(env.editor)
|
||||
require("ace/ext/language_tools");
|
||||
|
||||
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue