Commit faf8e8cf authored by chriseth's avatar chriseth

Merge pull request #10 from ethereum/undo

Fix undo problems.
parents 0af7f430 ae072b18
...@@ -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