#4510 npp 6.5 problem with hightlight matching tags in php

All
open
nobody
None
5
2014-08-21
2013-10-09
ihtus
No

Have php with echoing html tags. notepad++ 6.4.5 is highlighting ok the tags inside php and outisde php.

notepad++ 6.5 is highlighting ok the tags only outisde php and NO HIGHLIGHT inside php code.

How to enable highlighting of tags inside php code?

notepad++ 6.4.5:
http://i.stack.imgur.com/Mi628.png
http://i.stack.imgur.com/HYUrP.png

notepad++ 6.5:
http://i.stack.imgur.com/W9MSG.png

Discussion

  • Highlighting tags inside PHP code was turned off on purpose to deal with another bug. I don't see any way of doing it properly without implementing a full PHP parser/lexer.

    https://sourceforge.net/p/notepad-plus/bugs/4453/

     
  • ihtus
    ihtus
    2013-10-09

    Andreas: thank you for your reply.

    Is there any chance to have tags highlighting enabled in future NP++ releases?
    This is a very very helpful feature.
    If not... unfortunately I will be forced to stay on a version < 6.5.
    Thank you.

     
  • Not sure, it is up to Don (the owner of the project) to determine if it's worth having the other problem present.

     
  • ihtus
    ihtus
    2013-10-09

    Andreas: that would be great if you can make this a decision of the user, I mean an option in config, something like "enable (force) HighLight, but other bug will popup".

    Personally for me it's better to have HighLight enabled + the other bug, than no highlight + no other bug.

    Also the reason I would like to move to 6.5 and not to stay with old versions is Function List panel.

     
    Last edit: ihtus 2013-10-09
  • Korikulum
    Korikulum
    2013-11-05

    I agree with ihtus, you should definitely consider bringing this feature back or, at least, add an option to turn it back on. To me this is a very important feature since I use it all the time, but I would also like to be able to use the new Function List. The other bug seems like a small sacrifice in comparison to losing this feature.

     
    Last edit: Korikulum 2013-11-05
  • ihtus
    ihtus
    2013-11-19

    npp 6.5.1 - still same problem