@hankejh How about you allow me to contribute to the code instead?
@StickyNomad That's not really possible when you have regex's in the middle of your code. I did however figure out that if I add a PHP comment at the end of the line I could tell the highlighter to "reopen" the highlighting. EG: $regex='/?>/'; At this point the highlighting will no longer highlight PHP correctly. //<?php The highlighter sees that PHP is open again and highlights accordingly. These kind of "workarounds" are cumbersome and have no place in the actual code. It would be better if it could be fixed natively. Thanks. -- <http://forum.pspad.com/read.php?2,50876,51505> PSPad freeware editor http://www.pspad.com
