Syntax Highlighting colour issue

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
Andrewc
Posts: 2
Joined: Wed May 23, 2012 9:41 am

Syntax Highlighting colour issue

Post by Andrewc »

Have 2 issues:

Code: Select all

<script src="http://cdn.jquerytools.org/1.2.6/tiny/jquery.tools.min.js"></script>
I am unable to change the colour of the script attribute "src", my notepad++ is able todo this.

Code: Select all

$.facebox.settings.closeImage = '<?php echo SITE_PATH; ?>images/pop_arrow.png';
In the above JS code in my notepad++ the php code has the its own highlighted colours but in RapidPHP its all just a single "javascript string" colour.

Was rather disappointed that this was not catered for. :?
Andrewc
Posts: 2
Joined: Wed May 23, 2012 9:41 am

Re: Syntax Highlighting colour issue

Post by Andrewc »

Ok so no support on this Product?????

Close to asking for a refund here!
peleus
Posts: 30
Joined: Thu May 03, 2012 6:02 pm

Re: Syntax Highlighting colour issue

Post by peleus »

I think they're occupied on develping the new version. Patience is a virtue. :)
PHP newbie Image
User avatar
Nikolajs
Blumentals Software Developer
Posts: 108
Joined: Mon Sep 19, 2011 8:28 am

Re: Syntax Highlighting colour issue

Post by Nikolajs »

The RapidPHP highlights <script> tag differently from other tags. By default the whole tag is highlighted using violet color. Attributes in the <script> tag cannot have different color. You can change <script> tag color by going to Options > Preferences > Text Editor > Colors and modify HTML JavaScript Tag.
JavaScript strings are not parsed this is why all strings appear with the same color.
Nikolay Dutchuk
Blumentals Software
Post Reply