fixes #3120 Replace CodeMirror with Ace