Syntax Coloring Not Functioning

Hello All,
For some reason my code is not colored as it should be. I'm
using Dreamweaver 8 on a Windows XP.
I have tried to enable it by going to "View > Code View
Options > Syntax Coloring, but a check never appears indicating
that Syntax Coloring has been enabled. The "Syntax Coloring" option
isn't grayed out, so it should allow me to select it, but it just
doesn't.
My preferences for code coloring for all document types are
set to their defaults.
It is not because of un-closed tags or any error in the code,
this problem happens in all the default documents that Dreamweaver
ships with.
I even did a "repair" re-install but still no change.
Any insight would be greatly appreciated. Thanks.
-Daniel

I didn't have a previous version of Creative Suite before this, so nothing to clean off. It's a work PC that just got set up with CS6 for the first time - I wasn't able to find that cache file (the instructions are for CS5 and earlier), but since this started happening straight out of the box, I'm not sure the cache would be the problem?
And no, the "Syntax Coloring" option is not greyed out - it's actually black, so looks like it SHOULD be selectable, but I click it and nothing happens, and it remains unchecked. That's the confusing thing.. no obvious hurdles to toggling that option...

Similar Messages

  • Syntax coloring in code view not working in CS6

    I just got CS6 installed for Windows XP, first time using it, and the HTML syntax is no longer color coded like I was used to in CS5 and earlier.. I assume you would turn this on/off through View > Code View Options > Syntax Coloring, but when I try to select this, nothing happens and the option remains unchecked in the menu.
    It seems to be the only thing in the Code View Options menu that I cannot turn on/off, but it's not grayed out or turning up any error messages or anything...
    Any idea what's going on?

    I didn't have a previous version of Creative Suite before this, so nothing to clean off. It's a work PC that just got set up with CS6 for the first time - I wasn't able to find that cache file (the instructions are for CS5 and earlier), but since this started happening straight out of the box, I'm not sure the cache would be the problem?
    And no, the "Syntax Coloring" option is not greyed out - it's actually black, so looks like it SHOULD be selectable, but I click it and nothing happens, and it remains unchecked. That's the confusing thing.. no obvious hurdles to toggling that option...

  • In dreamweaver cs6 12.0, build 5842, there is no syntax coloring on main code view?

    In my dreamweaver CS6, why is there no syntax coloring showing on the main code view window on php or any files? It works in window>code inspector, but this does not have all the same functionality. ther is no preferences icon anywhere that I can see to turn this feature on or off? This used to work until just recently. Nothing on google, but the main basics. I tried checking preferences under syntax coloring and all is okay and shows color. I also reinstalled and restarted PC. I am on a macbook with retina display. on mountain lion with latest updates. CS6 is different than cs5 in menus. Please help soon!

    Thanks for the help. I didn't think the retina did, I just wanted to help clarify what I was working with. I tried changing the external editor also and that got the split design view working again, but still no code coloring gosh darnit.

  • Problem with Syntax Coloring (Syntax Colouring) in Xcode with Python

    I have a Python script with a bunch of doc strings. Doc strings are multi-line comments delimited by either triple single-quotes (''') or triple double-quotes ("""). When they appear as the first statement in a class, function, method or module, they are automatically set to the _doc_ member of the given class, function, method or module. This in turn allow that text to appear when the user types "help(myobj)" in the interpreter.
    My problem stems from the Syntax Coloring in XCode not detecting the end of some multi-line strings. The point at which this begins is random; it does not occur with the first multi-line string. Any syntax after the randomly offending multi-line string is colored as if it were part of the string and so syntax coloring is effectively deactivated for the rest of the file. There does not seem to be a way to get XCode to rescan, re-examine or reload the file and different installs of XCode's syntax coloring die at different places in the source. If there is no way to tell XCode to refresh / rescan a file, is there a way to set the syntax coloring stack depth?? Maybe the problem stems from too shallow a stack depth for the syntax coloring. Anyone have any ideas?
    Thanks!

    Actually, XCode seems to correctly color the file when all multi-line strings / doc strings are using triple-double-quotes ("""), but NOT with triple-single-quotes ('''). Because ''' is legitimate python for indicating a multi-line string, I think this may be a bug in the syntax coloring algorithm.

  • Syntax Coloring for PHP in HTML Files

    I'd like consistent syntax color throughout my documents,
    which can be CSS, HTML or PHP. However, when I write PHP code into
    anything but a PHP document, it comes out in a single, or
    dual-color format making it much less "pretty", and not nearly as
    easy to read. HTML has CFM and ASP color options, but not PHP (and
    I don't want to have to format the color twice in preferences
    anyhow). I've tried grouping .html files in with the PHP/MySQL
    color grouping in the DocumentTypes setting (Dreamweaver
    8/Configuration/DocumentTypes), which works, but results in a crash
    each time I do anything but look at a document.
    Anyone experience this behavior, or better yet, have a
    solution to make Dreamwever's syntax color consistent within
    itself?
    BWT, this refers to Dreamweaver 8.0.2, Mac OS X 10.4.7. And
    the rest of the Studio is installed as well.

    jasonkenison wrote:
    > I'd like consistent syntax color throughout my
    documents, which can be CSS,
    > HTML or PHP. However, when I write PHP code into
    anything but a PHP document,
    > it comes out in a single, or dual-color format making it
    much less "pretty",
    > and not nearly as easy to read.
    Follow this link (watch the wrap), and scroll down to Randy
    Edmunds' answer:
    http://groups.google.com/group/macromedia.dreamweaver/browse_thread/thread/a60b556f59869a8 6/666ff112459275ec?lnk=gst&q=php+html+color&rnum=2#666ff112459275ec
    He gives the details for Windows, but you should be able to
    find the
    correct file easily enough on a Mac.
    David Powers
    Author, "Foundation PHP for Dreamweaver 8" (friends of ED)
    Author, "Foundation PHP 5 for Flash" (friends of ED)
    http://foundationphp.com/

  • Spry Menu Issues - Not functioning correctly in Microsoft IE

    Hi there,
    I am fairly new to web design and dreamweaver.
    I have constructed a simple page that I am happy with complete with Spry Menu which again I am happy with.  However this spry menu works perfectly in firefox but for some reason on IE my spry menu does not function correctly and goes all over my page!
    CORRECT VERTICAL MENU - FIREFOX -
    INCORRECT MENU FUNCTION! - IE -
    See my CSS Code below for the spry menu in questions - if this helps -
    @charset "UTF-8";
    /* SpryMenuBarHorizontal.css - version 0.6 - Spry Pre-Release 1.6.1 */
    /* Copyright (c) 2006. Adobe Systems Incorporated. All rights reserved. */
    LAYOUT INFORMATION: describes box model, positioning, z-order
    /* The outermost container of the Menu Bar, an auto width box with no margin or padding */
    ul.MenuBarHorizontal
        margin: 0;
        padding: 0;
        list-style-type: inherit;
        font-size: 100%;
        cursor: default;
        width: 1000px;
        height: 47px;
    /* Set the active Menu Bar with this class, currently setting z-index to accomodate IE rendering bug: http://therealcrisp.xs4all.nl/meuk/IE-zindexbug.html */
    ul.MenuBarActive
        z-index: 1000;
    /* Menu item containers, position children relative to this container and are a fixed width */
    ul.MenuBarHorizontal li
        margin: 0;
        padding: 0;
        list-style-type: none;
        font-size: medium;
        position: relative;
        text-align: center;
        cursor: pointer;
        width: 318px;
        float: left;
        height: auto;
        background-color: #000000;
        border: 2px solid #FFF;
        font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif;
    /* Submenus should appear below their parent (top: 0) with a higher z-index, but they are initially off the left side of the screen (-1000em) */
    ul.MenuBarHorizontal ul
        margin: 0;
        padding: 0;
        list-style-type: none;
        font-size: 100%;
        z-index: auto;
        cursor: default;
        width: auto;
        position: absolute;
        left: -1000em;
        font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif;
    /* Submenu that is showing with class designation MenuBarSubmenuVisible, we set left to auto so it comes onto the screen below its parent menu item */
    ul.MenuBarHorizontal ul.MenuBarSubmenuVisible
    left: auto;
    /* Menu item containers are same fixed width as parent */
    ul.MenuBarHorizontal ul li
        width: 318px;
    /* Submenus should appear slightly overlapping to the right (95%) and up (-5%) */
    ul.MenuBarHorizontal ul ul
        position: absolute;
        margin-top: -5%;
        margin-right: 0;
        margin-bottom: 0;
        margin-left: 95%;
    /* Submenu that is showing with class designation MenuBarSubmenuVisible, we set left to 0 so it comes onto the screen */
    ul.MenuBarHorizontal ul.MenuBarSubmenuVisible ul.MenuBarSubmenuVisible
        left: auto;
        top: 0px;
    DESIGN INFORMATION: describes color scheme, borders, fonts
    /* Submenu containers have borders on all sides */
    ul.MenuBarHorizontal ul
        border: 1px solid #FFFFFF;
    /* Menu items are a light gray block with padding and no text decoration */
    ul.MenuBarHorizontal a
        display: block;
        cursor: pointer;
        background-color: #bcbdb9;
        padding: 0.5em 0.75em;
        color: #FFF;
        text-decoration: none;
    /* Menu items that have mouse over or focus have a blue background and white text */
    ul.MenuBarHorizontal a:hover, ul.MenuBarHorizontal a:focus
        background-color: #000;
        color: #FFF;
    /* Menu items that are open with submenus are set to MenuBarItemHover with a blue background and white text */
    ul.MenuBarHorizontal a.MenuBarItemHover, ul.MenuBarHorizontal a.MenuBarItemSubmenuHover, ul.MenuBarHorizontal a.MenuBarSubmenuVisible
        background-color: #000;
        color: #FFF;
    SUBMENU INDICATION: styles if there is a submenu under a given menu item
    /* Menu items that have a submenu have the class designation MenuBarItemSubmenu and are set to use a background image positioned on the far left (95%) and centered vertically (50%) */
    ul.MenuBarHorizontal a.MenuBarItemSubmenu
        background-image: url(SpryMenuBarDown.gif);
        background-repeat: no-repeat;
        background-position: 95% 50%;
    /* Menu items that have a submenu have the class designation MenuBarItemSubmenu and are set to use a background image positioned on the far left (95%) and centered vertically (50%) */
    ul.MenuBarHorizontal ul a.MenuBarItemSubmenu
        background-image: url(SpryMenuBarRight.gif);
        background-repeat: no-repeat;
        background-position: 95% 50%;
    /* Menu items that are open with submenus have the class designation MenuBarItemSubmenuHover and are set to use a "hover" background image positioned on the far left (95%) and centered vertically (50%) */
    ul.MenuBarHorizontal a.MenuBarItemSubmenuHover
        background-image: url(SpryMenuBarDownHover.gif);
        background-repeat: no-repeat;
        background-position: 95% 50%;
    /* Menu items that are open with submenus have the class designation MenuBarItemSubmenuHover and are set to use a "hover" background image positioned on the far left (95%) and centered vertically (50%) */
    ul.MenuBarHorizontal ul a.MenuBarItemSubmenuHover
        background-image: url(SpryMenuBarRightHover.gif);
        background-repeat: no-repeat;
        background-position: 95% 50%;
    BROWSER HACKS: the hacks below should not be changed unless you are an expert
    /* HACK FOR IE: to make sure the sub menus show above form controls, we underlay each submenu with an iframe */
    ul.MenuBarHorizontal iframe
        position: absolute;
        z-index: 1010;
        filter:alpha(opacity:0.1);
    /* HACK FOR IE: to stabilize appearance of menu items; the slash in float is to keep IE 5.0 from parsing */
    @media screen, projection
        ul.MenuBarHorizontal li.MenuBarItemIE
        display: inherit;
        f\loat: left;
        background: #FFF;
    ** I am also using Windows 8 and Dreamweaver CS6 If this helps.**
    Any help with this would be fantastic as I need this to be resolved before the end of the week. 
    Any further information required please message me to find out.
    Thanks,
    Jamie

    THE CONFLICT IS BETWEEN YOUR DOCUMENT CSS AND THE SPRY CSS.
    It is because the <li> and <a> TAGS have been styled and therefore OVERRIDDEN THE SPRY CSS.
    Use CLASS TAGS e.g.  <li class="anyclass"> and <a class="anyclass">
    and STOP USING THE <a> TAGS.
    N.b. you may need to unstyle any <a> or other TAGS that conflict with the SPRY CSS.  (However it's best to start over knowing that styling basic tags may affect the SPRY CSS).

  • Hyperlinks Are Not Functioning Correctly

    I have a problem with the some of the hyperlinks in my
    WebHelp Pro project not functioning correctly once the project is
    compiled. What happens is that when I click on a hyperlink the text
    doesn't change from blue to purple. Not all the hyperlinks on a
    page are affected; some may work while others do not.
    When I look at the HTML code, I see two different things
    happening, and both things may not occur in the same code:
    1) In some documents the code reads "a visited=0000ff." The
    value should be 800080.
    2) In other documents "font color=blue" is being added to the
    HTML code for a particular hyperlink. Other hyperlink code in the
    same document may be unaffected.
    I have checked the font color in the editor to make sure it
    was set to "automatic" before I created the hyperlink. I removed
    the hyperlinks altogether, recompiled, then opened the document
    back up and recreated the hyperlinks. The problem still exists.
    Every document in my project is using the default.css style sheet.
    I use the same paragraph style throughout the project, both on the
    links that work correctly and those that do not.
    Has anyone ever experienced this problem? And if so, do you
    know the fix? I could manually edit the HTML code before publishing
    my project, but that is just a bandaid fix.

    The hyperlink color is controlled by the style sheet. I edit
    my style sheets in a text editor. Make sure you clear your browser
    history before testing the color changes.
    FWIW, I like my links to stay blue--I usually have the color
    change to purple in hover just to indicate that what is moused is
    indeed a viable link.

  • How we can change JFrame Border Color Not Background.

    How we change jframe border color not background
    if any body know about that then plz tell me
    at this [email protected]
    i m thanksfull to ..... .

    hi Shafr
    beleive it or not, i got it using trial and error. i keep
    trying words in the function setStyle until the color changed. i
    dont know why it is not documented.
    var periodBarColor:SolidColor = new
    SolidColor(taskSchedColorChooser.selectedColor, 1);
    periodBar.setStyle("fill",periodBarColor);
    //where taskSchedColorChooser is colorPicker component. you
    can replace it by any color you want

  • Syntax coloring / Keyword adding

    In Flash Builder 4, (sorry I'm still downloading, seems a bit slow today, surprise)
    Will it be a big pain in the neck to change the syntax coloring?
    Could I add my own keywords to some kind of list.
    This release seems to be playing catch up to FlashDevelop (I view this as a good thing):
    Automatic generation of Getter/Setters...
    Automatic generation of Event handlers...
    Conditional breakpoints for debuging (Yes it has that)...
    View ASDoc style documentation during code hinting...
    So could you guys please also add two things?
    1:
    One huge gripe I have is the fact that I can't change the colors in FlexBuilder to match my liking, and SO many terms are colored using the default
    that it almost makes syntax coloring a bit worthless.
    2:
    I'd like to be able to change the list of keywords / reserved words / class names / instristic class to add whichever I feel like.
    I like having addEventListener/removeEventListener/addChild/removeChild/getChildAt/getChildByName different color than everything else because I use them so much. I enjoy being able to tell what's what at a glance. Once they're colored I know there's no typographical errors.
    Ok three things...
    3:
    Code hinting in FlexBuilder leaves a lot to be desired. In FlashDevelop if I have a property named _viewPortTop, i could hit enter for the new line, then start typing 'top', and the available options will come up pruning the possible choices as they are filtered out.
    In flex builder, I HAVE to put 'this'., to even GET the list or press ctrl+space which is cumbersome to do each and every time. If i even make a typo, BAM, whole list is gone.
    I don't like seeing 'this' all over the place, since 'this' is assumed in scope.
    If there's an error, then it's a scope issue, go fix it.
    I don't want to clutter my code just cus the hinting is lackluster.
    Mario Gonzalez
    http://onedayitwillmake.com
    Senior Developer | WDDG.com

    Hi Mario,
    I just read your bug http://bugs.adobe.com/jira/browse/FB-20285 and your workaround: "Press ctrl+space, EVERYTIME you want code hinting without having to tyoe 'this'"
    This is by design, not a bug. I believe what you maybe misinterpreted as a feature is that code hints show up by simply typing. This is not true. We follow the JDT convention for explicit code hinting and implicit code hinting for AS in most cases. See auto activation in the JDT preferences for more information.
    We also have implict code hinting for MXML cases. Here are some examples of both AS and MXML:
    Implicit code hints:
    Start of MXML tag "<"
    Start of attribute inside an MXML tag "<s:Button " the space character triggers code hints
    Member access "myButton." the period character triggers code hints
    Extends keyword "extends " the space character triggers code hints
    Vector type declaration "Vector.<" the < character triggers code hints
    new expression "var foo:Button = new " the space character triggers hints
    Explicit code hints can be triggered with CTRL+Space at the user's discretion.
    For the case your are referring to, there is no implicit trigger character. You do have to hit CTRL+space in this case, that's the expected workflow in Eclipse.  I think you are suggesting that any AS identifier character always trigger code hints. Are there other IDE's that you've used that do this? I'm curious to see an example.
    Jason San Jose
    Quality Engineer, Flash Builder

  • SYNTAX ERROR in function module CACS_BUPA_PAI_SPECIAL_CACSB1

    Hi experts,
       I am trying to create business partner in SAP treasury module with role - general business partner and validity period 01/01/0001 - 12/31/9999. I am gettting syntax error  in Function module CACS_BUPA_PAI_SPECIAL_CACSB1, it says
    The key of internal table 'LT_BUT0BK' contains components of type 'X' or 'XSTRING'.
    The "Read table LT_BUTOBK" statement is not permitted for such tables in a unicode context.
    Please let me know if you have any solution for this.
    Thanks in advance.
    Edited by: Thanvi maraka on Apr 17, 2009 3:27 AM

    Hello Thanvi
    It seems that you need to apply the OSS note 1041283:
    FUNCTION cacs_bupa_pai_special_cacsb1.
    *"*"Lokale Schnittstelle:
      DATA: lt_but0bk TYPE TABLE OF but0bk WITH HEADER LINE.
      CALL FUNCTION 'BUP_BUPA_BUT0BK_GET'
           TABLES
                t_but0bk = lt_but0bk.
    * einmal vorhanden -> nehmen; nicht vorhanden -> Feld muss leer sein
    * mehrmals vorhanden -> Mussfeld
      READ TABLE lt_but0bk INDEX 2.
      IF sy-subrc NE 0.
    *    READ TABLE lt_but0bk.          "NOTE 1041283   " <<<<<<<<<
         READ TABLE lt_but0bk FROM lt_but0bk.            " <<<<<<<<<
        IF sy-subrc = 0.
          cacs_s_bupaw-bank_id = lt_but0bk-bkvid.
        ENDIF.
      ELSE.
    Regards
      Uwe

  • Code Hints - not functioning. Why not?

    Code Hints in Dreamweaver CS4 were functioning fine until this morning. Now they don't appear to work.
    I've checked for syntax errors, but Code Hints will not function on any existing page or in a new document.
    I'm presuming that I've disabled them somehow but cannot find how or where.
    Code Hints are enabled via Preferences (Close tags after "</" & delay 0 seconds)
    The menu only gives options for Spry and DOM Code Hints.
    Any ideas as to why it's not functioning. I notice a number of posts where the same question has been raised but am yet to read a reply.
    All hints welcome...

    Easiest solution?
    Uninstall and reinstall Dreamweaver.
    Sorted in 20 minutes. Even better, Dreamweaver 'remembers' all site login/ftp data, passwords, etc, so no concerns there.

  • Is there a color range function in PSE

    I have used photoshop CS4 and been comfortable using the color range function. I have tested PSE which I am thinking of buying as it is more affordable, however could not find the color range. Is there a similar function or is it got a different name in PSE? I mainly use this for jewellery and to change backgrounds.
    Thnaks for your time and feedback.
    http://www.goldstonesilver.com

    Terri, thanks a lot for your reply, very helpful. I had CS3 but not anymore....so I ahve to make
    do with elements for the time being.
    Cheers

  • Preview Mode - Full is not functioning

    View -> Preview Mode - > Full is supposed to let you
    see the rest of the stage in full color when editing inside a movie
    clip. That seems to not function. Instead the rest of the stage is
    still ghosted out after you double-click a movie clip to edit it.
    Grrr.
    Bug?
    In the past this feature has worked perfectly since Flash
    4.

    I agree -- this issue is really important for my work flow.
    Can you please add it back as an alternatre option if it is not a
    bug?

  • How does syntax coloring work?

    Hello.. I was wondering how to do syntax coloring? I was planning on making a simple editor which has that (not for java at least). I think I've seen some Java classes for that but what if I want to define my own keywords?
    Hm.. so does the process involve tokenizing each and every word and compare if it is a keyword or not and everytime there is a change in the text area that process is repeated. Or is that just plain brute force? Can anyone here recommend something more efficient?
    Thanks
    romainechester

    A syntax highlighting package by Stephen Ostermiller has been
    around for quite a while. I remembered a general discussion about
    how to go about this, but when I went to his web site I couldn't find it.
    What I did find might be even more help to you: a "How to build a
    text editor" tutorial with an emphasis on how his highlighter is
    constructed. It is here: http://ostermiller.org/syntax/editor.html

  • 3.0EA1: syntax colors for reserved words and a shortcut for compile

    Hello,
    only two notes/questions:
    1. If syntax coloring is enabled, do you get your information about the words from V$RESERVED_WORDS? Is it possible for you to enhance these reserverd words (for example from a separate file) to take care of the following datatypes not defined in V$RESERVED_WORDS (especially the pl/sql-types)?:
    any types: anydata, anydataset, anytype
    xml types: uritype
    spatial types: sdo_geometry, sdo_georaster, ...
    media types: ordaudio, ordimage, ...
    pl/sql types: pls_integer, binary_integer, simple_integer, boolean
    2. Is it possible to get a shortcut for compiling? There are so many shortcuts defined, but when you write code you have to take the mouse and klick on the toolbar to compile/compile for debug (or do i miss the entry in the preferences?).
    Thank you
    Markus

    I forwarded this on the the correct developers they should reply here shortly.
    Syme

Maybe you are looking for

  • Adf 11g logging

    Hi How to use ADFLogger in ADF 11g? Thanks in advance

  • Finder issue with Spaces

    I found a Finder issue when using spaces. I performed an upgrade installation on my Intel Core Duo iMac. Finder worked as expected. Then, I turned on Spaces. After a few minutes the finder hung. I tried using activity monitor several times to force q

  • Thumbnail image does not appear

    Initial discussion on: http://forums.adobe.com/message/4862614 Hi, Instead of writing this in the docs: "However, no thumbnails appear in articles that use the PDF image format", better yet place in the Thumbnail view a thumbnail image with crossed r

  • Mass availability check for reservations created manually

    Hi, Please let me know if there is any transaction for mass availablity check for reservations created manually.we can check avaialabilty for individual reservations in mb21 or mb22.but we need a collective availabilty check feature. Thanks for the h

  • Image resize function stopped working

    I have been using Elements for quite a few years and have had no problem in resizing images until last week. I often use the option of resizing using the cm measurements I want. When I tried this on my laptop last week the programme would not allow m