I’m currently using a custom linter, by direclty putting the lint function in the editor’s options.
I’ve tried using defineSimpleMode(…) to highlight parts of code, but as I use it, the linter isn’t used anymore.
Am I missing something ? Is there a way to do both at the same time (highlight/color + lint) ?
Thank for your help and for CodeMirror.