I'm currently using Notepad++ 4.0.2 because this is the last clean version before this bug appeared and still continues.
Example: an ASP file:
<% 'comment %>
<html>
</html>
the script hilighting continues past the end of the script tag "%>" and into the html code below. The workaround is to put the tags and comment on separate lines. I hope this gets fixed in a future release. Thanks.
-Barrie
Neil, could you look into this? A fix is provided:
http://sourceforge.net/p/notepad-plus/bugs/2890/
thanks.
P.
Logged In: YES
user_id=12579
Originator: NO
I won't be working on this myself.
Logged In: YES
user_id=65212
Originator: NO
This appears to have started with 1.72 of the lexer; 1.71 does not exhibit this behavior.
Logged In: YES
user_id=65212
Originator: NO
By the way, you can copy the 1.71 version of the lexer DLL into the Notepad++ directory and it will restore the correct syntax highlighting behavior. I just keep a copy of that DLL around and overwrite the installed one every time I install a new version of NPP.
This is still not fixed in version 227 and I found a solution here:
http://sourceforge.net/p/notepad-plus/bugs/2890/
This highly visible bug annoys me everyday!
The patch undoes a fix from December 2006 which was to handle this example
Last edit: Neil Hodgson 2013-02-26
Ok, so in your opinion where should a fix (any fix) be applied to? Function "stateAllowsTermination" or some other place? I am a developer myself, I could look into this but I need some clues!
Thanks!
Discovering where and what to change is the work involved in fixing this. I have already said that I won't be working on this issue myself.