HighDots Forums  

Re: Dark color scheme for code view?

Macromedia Dreamweaver Macromedia Dreamweaver Discussions (macromedia.dreamweaver)


Discuss Re: Dark color scheme for code view? in the Macromedia Dreamweaver forum.



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

Default Re: Dark color scheme for code view? - 03-28-2009 , 11:58 AM






darius,

If you are comfortable manually editing Registry/Preferences and XML,
then try this:

1. Shutdown DW
2. Edit Configuration/CodeColoring/Colors.xml and do a global change of
"#000000" (black) to "#FFFFFF" (white).

Note: be sure to edit Colors.xml in your User (not Application)
Configuration folder. This TechNote explains the difference:
http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=tn_16420

Also, search on "bgcolor" and change those as necessary.

3. (On Windows) Using regedit, go to:

\\HKEY_CURRENT_USER\Software\Macromedia\Dreamweave r 8\Tag Colors
\\HKEY_CURRENT_USER\Software\Adobe\Dreamweaver 9\Tag Colors
\\HKEY_CURRENT_USER\Software\Adobe\Dreamweaver CS4\Tag Colors

Change all "#000000" (black) values to "#FFFFFF" (white)
Change "Background Color" to "#000000"

Note: these colors may be represented as CSS shortcuts #000 and #FFF

Close regedit

4. Restart DW.

You may need to tweak a few more settings, but that should get you most
of the way there. This can all be done as an extension, but I am not
aware of anyone that has put one together.

Hope this helps,
Randy


Quote:
I prefer a dark color scheme for code view. It's much easier on my
eyes. However, the prospect of going through the dialog and
changing hundreds of items is truly daunting. Anyone knows of a
dark color scheme I can download and import?

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

Default Re: Dark color scheme for code view? - 03-29-2009 , 01:12 PM






Quote:
just changing black to white or vice versa will
render many elements unreadable.
Yes, there are some colors which are very close to black and white that
also need to be changed.

If you are using a script to do the work, then (starting from the
original Colors.xml), try converting each hex digit to it's reverse
video counterpart:

0 ==> F
1 ==> E
2 ==> D
....
D ==> 2
E ==> 1
F ==> 0

You still might need to do some tweaking after that, but I think it may
get you closer to what you want.

for anyone else who's interested in this topic, the Registry values are
the defaults for elements that do not have anything specified in the
Colors.xml file, so you can specify (almost*) everything there, if you
prefer.

* The exception is the overall background color -- you need to specify
the Registry value for coloring of empty space (e.g. past the end of the
line, empty lines).

I, personally, prefer a silver background. I'll try to put together an
extension in my copious spare time

Randy


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.