This has been persistant for me since version 4.0 in Notepad++.
In my blog template, I display an actively updated list from blogrolling.com. In the code for the blogroll, I use a couple of <script> elements. There's this one part where I make a comment inside the script element so that it's not empty. I notice that when I enter the <!-- and --> at the beginning and end of the comment, the <!-- is purple instead of the usual green. I couldn't figure it out until I noticed that the only difference between the location of this script and any other script I use is that it's a .php file.
If you use <script src=".php"><!-- comment --></script> does that little quirk happen for anybody else?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I think this is the same problem I've seen with ASP files (using embedded VBscript). I've temporarily solved this by copying version 1.71 of SciLexer.dll into the Notepad++ installation directory. This problem started with v1.72 of that DLL.
There is a bug tracking entry on the SciTE bug list, but someone responded "I won't be working on this", so I'm not holding my breath for a solution.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
This has been persistant for me since version 4.0 in Notepad++.
In my blog template, I display an actively updated list from blogrolling.com. In the code for the blogroll, I use a couple of <script> elements. There's this one part where I make a comment inside the script element so that it's not empty. I notice that when I enter the <!-- and --> at the beginning and end of the comment, the <!-- is purple instead of the usual green. I couldn't figure it out until I noticed that the only difference between the location of this script and any other script I use is that it's a .php file.
If you use <script src=".php"><!-- comment --></script> does that little quirk happen for anybody else?
I think this is the same problem I've seen with ASP files (using embedded VBscript). I've temporarily solved this by copying version 1.71 of SciLexer.dll into the Notepad++ installation directory. This problem started with v1.72 of that DLL.
There is a bug tracking entry on the SciTE bug list, but someone responded "I won't be working on this", so I'm not holding my breath for a solution.