Kronuz wrote:
Hey how hard would it be to add <style type=”text/css”> /* CSS */
</style> support for CSS in the HTML lexer? Would it be possible for
someone to do it and add that support? It would be really nice if it had
that.
Well, it might be nice... and it might even be cooler for Neil, since
SciTEDoc.html uses this form of CSS. :)
Also, I had a question about how the support for those other languages
is added in the LexHTML.cxx… how come the JavaScript painted by the HTML
lexer has different fonts/colors than the regular JavaScript lexer for
.js files? Shouldn’t it be the same? And how is it that it has different
background color too?
"Should"? Perhaps you mean what YOU expect? ;)
They are two different lexers* with different goals and constraints,
although the historical severe restriction on the number of style bits
available to the HTML lexer has been somewhat relaxed recently, and
the fruits of those efforts may start showing up soon in the form of a
more capable ("feature-full"?) HTML lexer... were you volunteering?
* - .js files use the CPP lexer, BTW.
Robert Roessler
[EMAIL PROTECTED]
http://www.rftp.com
_______________________________________________
Scite-interest mailing list
[email protected]
http://mailman.lyra.org/mailman/listinfo/scite-interest