Robert,
>> 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. :)
Yeah, it'd be great... :)
>> 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? ;)
You are totally right colors are just a matter of taste and they can be
changed easily... though from what I've seen in the source code, the in-HTML
versions of JavaScript are crippled and can't have as many color settings as
they should, it'd be nice if the JavaScript was a full "copy" of the stand
alone CPP lexer. In some ways I've been thinking about possibly reusing CPP
functionality inside HTML; HTML would depend on CPP, and CPP would have more
a generalized version of its lexer available for HTML (or others) use. (This
would make the source code and hence the binary much smaller too)
>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?
Of course I am... It's always a good thing to improve great source code :)
... I just hope I can find some spare time :S, and I'd be needing some help
(I just got into Scintilla's source code a couple hours ago) ... for
instance that about the style bits (I don't fully understand that yet, I saw
some comments in the source code.)
>* - .js files use the CPP lexer, BTW.
That's what I just read in the source code :)
Regards,
Kronuz.
_______________________________________________
Scite-interest mailing list
[email protected]
http://mailman.lyra.org/mailman/listinfo/scite-interest