Commit before switch from CodeMirror to ACE