Bug?

Post your questions and problem reports here

Moderator: kfury77

Forum rules
Please try to follow these guidelines. This will help to receive faster and more accurate response.
  • Check the Support section of the corresponding product first. Chances are you will find your answer there;
  • Do not create new topics for already reported problems. Add your comments to the existing topics instead;
  • Create separate topic for each problem request. Do NOT post a number of non-related problem reports in a single topic;
  • Give your topic a meaningful title. Titles such as "A question," "Bug report" and "Help!" provide others no clue what your message is about;
  • Include the version number of the software you are using;
  • This is not an official customer support helpdesk. If you need a prompt and official response, please contact our support team directly instead. It may take a while until you receive a reply in the forum;
Post Reply
jmurch
Posts: 9
Joined: Mon May 03, 2010 10:59 pm

Bug?

Post by jmurch »

I noticed that vaiables within a string in PHP are not color coded as variables. Is this a bug or by design?

Variable color coding doesn't work:
echo "High: $ $above_mmr<br>Avg: $ $average_mmr<br>Low: $ $below_mmr<br>";

Variable color coding does work:
echo "High: $".$above_mmr."<br>Avg: $".$average_mmr."<br>Low: $".$below_mmr."<br";
Gatis
Blumentals Software Developer
Posts: 545
Joined: Sun Mar 05, 2006 12:30 am
Location: Latvia

Re: Bug?

Post by Gatis »

This is by design.
But there exists a solution for this:
http://forums.blumentals.net/viewtopic. ... les#p15176
Kind regards,
Gatis Avots
jmurch
Posts: 9
Joined: Mon May 03, 2010 10:59 pm

Re: Bug?

Post by jmurch »

When do you expect to have this fixed ?

Jeff
Gatis
Blumentals Software Developer
Posts: 545
Joined: Sun Mar 05, 2006 12:30 am
Location: Latvia

Re: Bug?

Post by Gatis »

For several reasons, we are not planning to "fix it". Karlis might be able to tell you more why this is so (currently I do not know why such decision was made).
So there exists a workaround, which you can use if you need to highlight the variables inside a string.
Kind regards,
Gatis Avots
Post Reply