Highlighting whitespace between tags

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
closer9
Posts: 4
Joined: Sun Jan 11, 2009 12:10 am

Highlighting whitespace between tags

Post by closer9 »

Version: WeBuilder 2008 (9.4.0.102)

Is it possible to specify a color for whitespace between specific tags? Say you have PHP tags <? and ?>, can you specify that any whitespace between those tags is a different color? It makes it really easy to identify blocks of code inside of HTML documents.

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

Re: Highlighting whitespace between tags

Post by Karlis »

Try setting the background color for all elements, including "PHP symbol", this might help, though i must say we have not specifically tried to implement this feature. Nevertheless, by setting background to all language elements you should achieve this result. At least I managed to.
Karlis Blumentals
Blumentals Software
www.blumentals.net
closer9
Posts: 4
Joined: Sun Jan 11, 2009 12:10 am

Re: Highlighting whitespace between tags

Post by closer9 »

I tried setting a background color for all PHP elements under "HTML with PHP". It works and PHP elements show the background color, except tabs. Spaces have the background color applied unless they are following a tab.
User avatar
Karlis
Site Admin
Posts: 3605
Joined: Mon Jul 15, 2002 5:24 pm
Location: Riga, Latvia, Europe
Contact:

Re: Highlighting whitespace between tags

Post by Karlis »

Ah, I see, I will put this in the queue.
Karlis Blumentals
Blumentals Software
www.blumentals.net
CRaSH3k
Posts: 1
Joined: Mon Mar 09, 2009 12:28 pm

Re: Highlighting whitespace between tags

Post by CRaSH3k »

Hi,

as I'd like to see that feature too, I'm glad to hear it has been put on "to do".
Would be nice if there would also be an option to color whole lines with a custom
color (as it is possible in Notepad++):

Image

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

Re: Highlighting whitespace between tags

Post by Karlis »

I suppose this should work better in version 9.5
Karlis Blumentals
Blumentals Software
www.blumentals.net
Post Reply