background / search

Let us know what you would like to see in the next version of this software

Moderator: kfury77

Forum rules
Please follow these guidelines when posting feature requests. This will help to increase the value of your contribution.
  • Do not create new topics for already requested features. Add your comments to the existing feature request topics instead;
  • Create separate topic for each feature suggestion. Do NOT post a number of non-related feature suggestions in a single topic;
  • Give your topic a meaningful title. Do NOT create topics with meaningless titles, such as "My Suggestion" or "My Problem".
Please note that we DO READ all suggestions, even if a reply is not posted. Thanks!
Post Reply
falk
Posts: 17
Joined: Tue Jun 14, 2005 2:20 pm
Contact:

background / search

Post by falk »

1. Is it possible to change the background color for a PHP block <?php include ("http://www.test.cc/xyz.txt"); ?> in a htm file.

2. Is it possible to -multiline search and replace- with a filelist.
User avatar
Karlis
Site Admin
Posts: 3605
Joined: Mon Jul 15, 2002 5:24 pm
Location: Riga, Latvia, Europe
Contact:

Post by Karlis »

1. It is possible to change background colors for <? and ?> tags but not for the whole block. You can of course change the bg color for *every* PHP code item and thus get almost the same affect as if the block had a background color.

2. It was just implemented in the latest version 6.1 which is available right now.
Karlis Blumentals
Blumentals Software
www.blumentals.net
Grzegorz Wiktorowski
Posts: 15
Joined: Thu Jun 09, 2005 3:10 pm
Location: Warszawa, Poland

Post by Grzegorz Wiktorowski »

So please add the background color for <?php ... ?> block in PHP as well as for <% ... %> block in ASP because of repeated request.
Grzegorz Wiktorowski
OiOK
User avatar
Karlis
Site Admin
Posts: 3605
Joined: Mon Jul 15, 2002 5:24 pm
Location: Riga, Latvia, Europe
Contact:

Post by Karlis »

I'm afraid that this is currently technically not possible, at least not so soon. We are using a third party component for the text editor and the component does not support this feature. Although we do have a source, it would take a lot of time and effort in order to implement this feature, so it is planned to be done after higher priority features and fixes have been implemented. Thank you for your understanding.

Curently you can use the proposed solutions:
1) Set background color of <? and ?> which will allow you to see where does the php block begins and ends
2) If you want it all to be colored, set background for each PHP code item

These will allow you to achieve the same usability effect. Now it maybe won't look so good but it surely does what you need - allows to identify PHP code :wink:
Karlis Blumentals
Blumentals Software
www.blumentals.net
Grzegorz Wiktorowski
Posts: 15
Joined: Thu Jun 09, 2005 3:10 pm
Location: Warszawa, Poland

Post by Grzegorz Wiktorowski »

The reason is clear to me. But on the other hand it's annoying to set RGB(234, 254, 223) as the background color for 9 PHP and 9 ASP items.
Grzegorz Wiktorowski
OiOK
User avatar
Karlis
Site Admin
Posts: 3605
Joined: Mon Jul 15, 2002 5:24 pm
Location: Riga, Latvia, Europe
Contact:

Post by Karlis »

You are right, it is not very convenient.
Karlis Blumentals
Blumentals Software
www.blumentals.net
falk
Posts: 17
Joined: Tue Jun 14, 2005 2:20 pm
Contact:

Post by falk »

2. search and replace in files: great, thanks.

1. a simple question: how to change the background of <? and ?> tags in a .htm file (not in a .php file)?

Herbert Falk
User avatar
Karlis
Site Admin
Posts: 3605
Joined: Mon Jul 15, 2002 5:24 pm
Location: Riga, Latvia, Europe
Contact:

Post by Karlis »

PHP syntax highlighting is not available by default in plain HTML files. You can, however define plain HTML files as PHP. This can be done in the Preferences -> Document Types. You must remove html extensions from the HTML section and add them to the PHP section.
Karlis Blumentals
Blumentals Software
www.blumentals.net
falk
Posts: 17
Joined: Tue Jun 14, 2005 2:20 pm
Contact:

Post by falk »

"You must remove html extensions from the HTML section and add them to the PHP section."

After this there are only the tabs "Code Editor" and "Preview".
No "Split View".

I will do it without background change.

Herbert
User avatar
Karlis
Site Admin
Posts: 3605
Joined: Mon Jul 15, 2002 5:24 pm
Location: Riga, Latvia, Europe
Contact:

Post by Karlis »

Unfortunately it is not possible to allow split screen more for PHP scripts as there is onw problem. We can not detect whether you edit PHP or other code and whether the code is correct. And if you edit PHP code, then it would be not a good idea to refresh your script all the time in order to preview it. So this is the reason why there is no split screen option for PHP.

Any ideas?
Karlis Blumentals
Blumentals Software
www.blumentals.net
Post Reply