Page 1 of 1

Adding <style> highlighting in wxSTC HTML Lexer

Posted: Sun Sep 22, 2019 9:11 am
by evstevemd
So am writing my editor and want to support inline CSS (that is <style></style> tag). Googling out there I found the HTML Lexer does not support that out of the box. Now I'm looking for a way to do custom highlight when <style> is found but am yet to find anything useful. I found this Wiki article but it is for LEX_CONTAINER which means I have to re-write even what LEX_HTML already provides.

Is there any way to customize styling of a LEX_HTML so that I can change highlighting?

Thanks!