Dreamweaver color coding (of source)

Ask a Question related to Dreamweaver AppDev, Design and Development.

  1. #1

    Default Dreamweaver color coding (of source)

    In code view, Dreamweaver displays different elements in different color using
    a style CSS. I have BLOCKS of code inside my source documents that can't be
    touched. They begin with '<nexus:something>' Body of code goes here. They
    end with '</nexus>' What I want to do is have Dreamweaver display the open and
    close tags and EVERYTHING in between as a specific color (which means
    over-riding other Dreamweaver CSS for displaying tags and text inside that
    block). But, I can't figure out how to do it or where to do it. Wondered if
    anyone had an insight into this. Thanks ... Carl

    Schiavoni Guest

  2. Similar Questions and Discussions

    1. Custom Color Coding
      Hi, I'd like to alter the color coding in dreamweaver, so that comments and inline comments are handled different... it would make my life just a...
    2. Color coding of keywords in Flex 2.0
      I cannot find how to modify the default color coding of language (e.g., MXML) keywords in the Flex 2.0 UI. Does someone know how to change these...
    3. Color coding
      Anyone know where I can change what file extensions should be color code? For example: .txt files come without any color. I see no way to add color...
    4. Source Control Support in Dreamweaver MX (Win32)
      Hi Will Macromedia be improving Source Control features in the upcoming versions? Integration with scm tools like those from Seapine software...
    5. Same as Source & Printer Color Manager
      I have an Epson 2200 printer and I just bought GretagMacbeth iOne Photo, making and using printer profiles is no problem. Now I'm curious and want to...
  3. #2

    Default Re: Dreamweaver color coding (of source)

    Carl,

    Code Coloring is extensible, so you should be able to do that.

    Take a look in Configuration/CodeColoring/CodeColoring.xml and search
    for the "Template Comment" scheme. Use that as an example of how to
    setup a <blockStart>/<blockEnd> pair to define a range of text to color
    differently.

    Be sure to put your changes in a new .xml file for portability.

    You can find documentation here:

    [url]http://www.macromedia.com/support/dreamweaver/extend/extensible_code_coloring/[/url]

    Hope this helps,
    Randy

    > In code view, Dreamweaver displays different elements in different color using
    > a style CSS. I have BLOCKS of code inside my source documents that can't be
    > touched. They begin with '<nexus:something>' Body of code goes here. They
    > end with '</nexus>' What I want to do is have Dreamweaver display the open and
    > close tags and EVERYTHING in between as a specific color (which means
    > over-riding other Dreamweaver CSS for displaying tags and text inside that
    > block). But, I can't figure out how to do it or where to do it. Wondered if
    > anyone had an insight into this. Thanks ... Carl
    Randy Edmunds Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139