Last night I was able to get the ACE editor working fairly well with my fork of Mr Doob's code editor.
There is still one thing that bugs me about ACE. Tab markers:
They are not even tab markers since I have disabled tabs with
setUseSoftTabs(true). They are more extra indent markers and they seem unnecessary.
To turn them off, I eventually find
I try switching to HTML/mixed mode instead:
var ace = ace.edit("editor"); ace.setTheme("ace/theme/chrome"); ace.getSession().setMode("ace/mode/html");But now there are no errors at all: