PHP code background color

Post here if your topic is about TopStyle but doesn't fit in another TopStyle forum.

Moderator: TopStyle Support

PHP code background color

Postby davros » Fri Nov 16, 2012 5:10 pm

Is there any way to color the background of a block of PHP code? I can change the background color of PHP variables and text but spaces do not change color. I would like to change the background color of any code, spaces, etc from the start <?php tag to the end ?> tag. Similar to how HomeSite did it. Thanks.
davros
Rank 0 - Newcomer
Rank 0 - Newcomer
 
Posts: 1
Joined: Fri Nov 16, 2012 5:03 pm

Re: PHP code background color

Postby TopStyle Support » Mon Feb 11, 2013 7:56 am

Starting with version 5.0.0.94 here's how to fix this:
1. Options (F8) > Editor > Color Coding
2. Click on the tab labeled "Script"
3. Click on the category labeled "Default"
4. Click on "Background" (or the ellipsis)
5. Pick any color (for example: yellow)
6. Click on the button labeled "OK"
7. Click on the button labeled "Apply"
User avatar
TopStyle Support
Rank VI - Professional
Rank VI - Professional
 
Posts: 470
Joined: Sat Jun 13, 2009 12:38 pm


Return to General TopStyle

Who is online

Users browsing this forum: No registered users and 2 guests