Use codemirror for error messages