This is Interesting: Free Magazines for Graphics designers and webmasters
Home > Archive > Dreamweaver > June 2004 > Color Coding PHP blocks
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Color Coding PHP blocks
|
|
| PHP-er 2004-06-10, 7:14 pm |
| I'm frustrated because I'm trying to switch from Homesite to Dreamweaver, and I
can't get the color coding to match up.
I would like to be able to put a light gray background on the entire block of
PHP code, but instead, I get white spaces all throughout the block when I have
a character space, and on certain chars [,] or [;]
Can anyone instruct me how to edit the CodeColoring.xml file so it will
highlight ALL characters with a light gray background, even spaces or special
characters?
Thanks,
~JB
| |
|
| which version of dreamweaver? MX?
this is older message, pulled from groups.google.com
_
View this article onlyNewsgroups: macromedia.dreamweaver
Date: 2004-05-05 11:40:53 PST
I like to work on a black background. I recently moved from Studio 4.5 to
Dreamweaver MX. Problem is this....I can't find a way to make certain
instances
of periods and punctuation appear in any color but black. I went into the
XML
file and made sure there is no instance of color = #000000. Anyone else
experience this or know a solution?
Message 2 in threadFrom: Randy Edmunds (randy_nospam@macromedia.com)
Subject: Re: Code Coloring Help Need Badly _
View this article onlyNewsgroups: macromedia.dreamweaver
Date: 2004-05-06 10:11:19 PST
Jeff,
In DW MX, you need to manually edit the
Configuration/CodeColoring/CodeColoring.xml file to add a <defaultText>
tag to all of the <scheme> tags that do not have one. Search in that
file for examples of how this tag is defined for some of the other schemes.
Once you have done that, then you can assign a text color to those
characters.
This has been fixed in DW MX 2004.
(my note- be sure to be editing in the Configuration folder for You as a
User)
> I'm frustrated because I'm trying to switch from Homesite to Dreamweaver, and
> I
> can't get the color coding to match up.
>
> I would like to be able to put a light gray background on the entire block of
> PHP code, but instead, I get white spaces all throughout the block when I have
> a character space, and on certain chars [,] or [;]
>
> Can anyone instruct me how to edit the CodeColoring.xml file so it will
> highlight ALL characters with a light gray background, even spaces or special
> characters?
>
> Thanks,
>
> ~JB
>
| |
| PHP-er 2004-06-10, 7:14 pm |
| Beautiful! This worked perfectly! I added this line to the XML file under the
PHP scheme:
<defaultText name="Text" id="CodeColor_PHPText" />
Then I just went into the color editor and changed it to the background color
I wanted!
~Justin
|
|
|
| | Copyright 2003 - 2009 forum4designers.com Software forum Computer Hardware reviews |
|