code highlighting
pxsty0 opened this issue · 6 comments
Hi, how can I highlighting error lines of code in uiw codemirror?
I couldn't find anything detailed about this in your documentation.
Hi.
I faced a similar issue I guess.
It's not possible to override the error className cm-lintRange-error
, because it overrides any CSS rules, even if I use the special attribute markClass
to apply my own styles.
The huge problem the CSS className cm-lintRange-error
has a wrong background value that does not appear on the error state url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAw....")
That is really confusing to me.
Can managers look now?
Can managers look now?
I guess something related switching of the light and dark theme.
Because on the light theme, everything is fine.
I do not know where exactly the problem is from the codemirror lib or react-codemirror. I just override this className from the diagnostic markClass, this fix works for me.