i think Scintilla is an 8 bit lexer. meaning each character can be one of 128 styles and the parsers cannot be nested or combined. so even the HTML multihighligher is limited to 128 style defs in a single doc...i'm not sure how many are currently exhausted but it's probably very close since it needs to highlight a ton of nested languages like js, css, php. once again, having never looked at the source i think thats the issue....i remember inquiring about the same thing some time ago on some forum.
Leon
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I have fixed a bug related to a similar problem recently and indeed, you only have 127 different styles you can have in a single document. Changing that would be feasible, but totally non-trivial.
You better address your request to the Scintilla developers, as they might get to it sooner than the N++ ones (and it's clearly more in their alley): http://groups.google.com/group/scintilla-interest
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Could you add CSS syntax highlighting in <style> tags?
In <script> tags it already highlight javascript...
Regards
Chaos
i think Scintilla is an 8 bit lexer. meaning each character can be one of 128 styles and the parsers cannot be nested or combined. so even the HTML multihighligher is limited to 128 style defs in a single doc...i'm not sure how many are currently exhausted but it's probably very close since it needs to highlight a ton of nested languages like js, css, php. once again, having never looked at the source i think thats the issue....i remember inquiring about the same thing some time ago on some forum.
Leon
I have fixed a bug related to a similar problem recently and indeed, you only have 127 different styles you can have in a single document. Changing that would be feasible, but totally non-trivial.
You better address your request to the Scintilla developers, as they might get to it sooner than the N++ ones (and it's clearly more in their alley):
http://groups.google.com/group/scintilla-interest