CodeMirror Dynamic Syntax Validation
Posted
by
rawr
on Stack Overflow
See other posts from Stack Overflow
or by rawr
Published on 2012-09-07T22:24:29Z
Indexed on
2012/09/08
9:38 UTC
Read the original article
Hit count: 169
Been trying to decide between using CodeMirror or Ace editor. I've been leaning towards CodeMirror, however there's one feature of Ace that I really like and that is how it does syntax validation. So as I'm typing there can appear a warning or error icon in the left gutter area beside the line number, and when I hover over it it gives me a little description.
Is there any way to get this functionality in CodeMirror? Specifically, I'm using the css mode for CodeMirror.
It'd also be nice to be able to add in my own custom validation.
Thanks.
© Stack Overflow or respective owner