Commit ae072b18 authored by chriseth's avatar chriseth

Fix undo problems.

parent 3cebb65f
...@@ -184,6 +184,7 @@ var run = function() { ...@@ -184,6 +184,7 @@ var run = function() {
function newEditorSession(filekey) { function newEditorSession(filekey) {
var s = new ace.EditSession(window.localStorage[filekey], "ace/mode/javascript") var s = new ace.EditSession(window.localStorage[filekey], "ace/mode/javascript")
s.setUndoManager(new ace.UndoManager());
s.setTabSize(4); s.setTabSize(4);
s.setUseSoftTabs(true); s.setUseSoftTabs(true);
sessions[filekey] = s; sessions[filekey] = s;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment