SOLVED PHP highlighting in strings in double quotes

Make a request or discuss new features.
Post Reply
User avatar
pjj
Posts: 2236
Joined: 13 Oct 2009 13:48
Location: Kraków, Poland

SOLVED PHP highlighting in strings in double quotes

Post by pjj »

Within HTML highlighter everything in double quotes seems to be treated as a undifferentiated string, when if fact it can contain e.g. PHP code:
php-highlight.png
php-highlight.png (13.06 KiB) Viewed 2382 times
In the last line PHP code is not highlighted as such, because it is surrounded by double quotes. Could you please make it "break" out of those quotes and be highlighted as PHP? (I put bar- in double quotes to further illustrate the case; those quotes belong to PHP, not HTML.)
Alium tibi quaere fratrem; hic, quem tuum putas, meus est. Titus Flāvius Caesar Vespasiānus Augustus
User avatar
Rickard Johansson
Site Admin
Posts: 6783
Joined: 19 Jul 2006 14:29

Re: PHP highlighting in strings in double quotes

Post by Rickard Johansson »

I think you have unchecked the option to enable highlighting in strings...

Enable_highlight.png
Enable_highlight.png (2.72 KiB) Viewed 2239 times

When checked you should see something like below

highlight_in_string.png
highlight_in_string.png (6.94 KiB) Viewed 2239 times
User avatar
pjj
Posts: 2236
Joined: 13 Oct 2009 13:48
Location: Kraków, Poland

Re: SOLVED PHP highlighting in strings in double quotes

Post by pjj »

:oops:
Alium tibi quaere fratrem; hic, quem tuum putas, meus est. Titus Flāvius Caesar Vespasiānus Augustus
Post Reply