HighDots Forums  

Changing Code Colors ???

Macromedia Dreamweaver Macromedia Dreamweaver Discussions (macromedia.dreamweaver)


Discuss Changing Code Colors ??? in the Macromedia Dreamweaver forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
shahgillani
 
Posts: n/a

Default Changing Code Colors ??? - 07-21-2004 , 05:50 AM






Hi Everyone!

This could be a silly question but still I need to know the answer.
I'm using the "Macromedia Dreamweaver MX", and I'm changing code colors, so
that it will effect my eyes very little. But the color of semicolon is still
black.
Please see the image for more clarification.

http://www21.brinkster.com/hassanshah/codeColors.gif

Regards,
shahgillani
Hassan Sajjad


Reply With Quote
  #2  
Old   
Randy Edmunds
 
Posts: n/a

Default Re: Changing Code Colors ??? - 07-21-2004 , 01:27 PM






Characters that do not fall into any of the defined fields are colored
using the <defaultText> tag. You

will need to manual add this tag for each scheme that does not already
have it in each of the xml files

in the Configuration/CodeColoring folder, add something like this:

<defaultText name="Default Text" id="CodeColor_C#DefaultText" />

Then the "Default Text" field will show up in the UI and you can set the
color from there. The id value should be unique for each scheme to which
you add this tag.

Also, if you are on a multi-user system (Win NT/2K/XP or Mac OS X), then
read this note to make sure you are editing the correct Configuration
folder:

http://www.macromedia.com/support/dreamweaver/ts/documents/multiuser.htm

Note that this has been fixed in DW MX 2004.

HTH,
Randy


Quote:
I'm using the "Macromedia Dreamweaver MX", and I'm changing code
colors, so that it will effect my eyes very little. But the color
of semicolon is still black.


Reply With Quote
  #3  
Old   
shahgillani
 
Posts: n/a

Default Re: Changing Code Colors ??? - 07-22-2004 , 03:29 AM



Hi There!

Thanks for the reply but this is too tough for me to edit the xml file coz I
know nothing about xml that could corrupt my Dreamweaver or could my windows
may be!

Is there any other easier way?

Regard,
Hassan Sajjad
shahgillani


Reply With Quote
  #4  
Old   
Randy Edmunds
 
Posts: n/a

Default Re: Changing Code Colors ??? - 07-28-2004 , 09:06 PM



The only easy way is to upgrade to DW MX 2004 -- problem is fixed!

You definitely want to make a backup copy of the file before you make
any changes. If you corrupt it, then you can always get back to where
you started.

There are examples of this in the file itself, so all you need to do is:
1. Find where "defaultText" is already used
2. Copy the entire line
3. Paste the line in the same place of the other scheme(s)
4. This is the most difficult part: change the id so that it is unique.

That's it!

HTH,
Randy


Quote:
Thanks for the reply but this is too tough for me to edit the xml file coz I
know nothing about xml that could corrupt my Dreamweaver or could my windows
may be!

Is there any other easier way?


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.