This isn't really a bug. I've been looking all over for a solution though. I have found many requests for it on other forums. It's the biggest request I have.
Would it be too difficult to have 2 separate html lexers? One could have the asp ripped out and replaced with css? (I'm biased as I'm a PHP programmer). Perhaps the other with php ripped out. I don't believe PHP and ASP are ever used together, so it should work out, but I don't know what I'm talking about so heh.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Having a family of HTML lexers with different server-side scripting environments would be a reasonable design. There is even an abandoned attempt at this (lexer 'php' -> ColourisePHPDoc) in the current LexHTML.cxx. What is needed is for someone to commit sufficient time and effort to implement this well. The current HTML lexer is quite complex.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
embedded CSS syntax is not highlighted
Logged In: YES
user_id=12579
Originator: NO
I won't be working on this.
This isn't really a bug. I've been looking all over for a solution though. I have found many requests for it on other forums. It's the biggest request I have.
Would it be too difficult to have 2 separate html lexers? One could have the asp ripped out and replaced with css? (I'm biased as I'm a PHP programmer). Perhaps the other with php ripped out. I don't believe PHP and ASP are ever used together, so it should work out, but I don't know what I'm talking about so heh.
Having a family of HTML lexers with different server-side scripting environments would be a reasonable design. There is even an abandoned attempt at this (lexer 'php' -> ColourisePHPDoc) in the current LexHTML.cxx. What is needed is for someone to commit sufficient time and effort to implement this well. The current HTML lexer is quite complex.