<style>tag don't highlighting in php file in <html> tag why??
djeydjey95 last edited by
<style>tag don’t highlighting in php file in <html> tag why??
PeterJones last edited by PeterJones
There was a brief interlude of one or two versions where that wasn’t working.
You might want to update to v8.4.2, which includes the fix for that issue.
PeterJones last edited by
unless what you are talking about is you want the “body” and “backround”, etc, to have different colors.
That ability has never existed in the HTML/PHP/ASP parser as far as I am aware, so if that is what you were wanting, it doesn’t yet exist. For example, here’s similar code in the HTML parser of v8.3.3:
I now assume that what you’re wanting is for it to render the style similar to the way CSS is highlighted, but just inside the
<style>tag in the HTML or PHP (or similar):
That would require a feature request, because we fellow users in the Community forum cannot add features to the codebase. Further, I don’t think a feature request for Notepad++ will be sufficient: Notepad++ uses the Scintilla Lexilla lexer for handling the syntax highlighting, so I believe you would have to convince Scintilla/Lexilla to add CSS highlighting inside their HTML/PHP/ASP parser, and they would have to implement it, then you would have to lobby the Notepad++ developers to update to the newer version of Scintilla that contains the updated parser.