Sorry, me again... I guess you didn't get me. The %> breaks it, but it shouldn't (unless the asp_tags directive is enabled). Hey, who the hell uses ASP tags in an PHP file within <?php ?> anyway ??? I only used this as a PLACEHOLDER for myself, that's when I found this bug. It's supposed to be IGNORED as in fact, it IS a PHP COMMENT. The PHP code IS working and there is NO syntax mistake !!! So I would expect Scintilla to WORK like the code is working - PROPERLY :-)
OK, I will accept a patch but will not be working on this myself.
Still a very annoying bug - breaks PHP files with %> in a comment!
There was another ticket I found, which resolved a similar issue in single-line comments that contained <?php. Perhaps the code submitted there will help someone fix this issue, too?
http://sourceforge.net/p/scintilla/bugs/848/
Fixed by https://github.com/ScintillaOrg/lexilla/issues/252