1 Reply Latest reply on Feb 22, 2010 4:57 AM by Michael Teitge

    Problem: ()[]{} invisible inside the script-tag

    Michael Teitge

      Hi there,

       

      This morning I realised I had some strange problem with my Dreamweaver CS4. The brackets ()[]{} are somehow invisible inside the script-tag. I know they are still there, because they execute correctly and when I copy a codefragment with some (of the now invisible) brackets to another text-editor, they are there again.

      Let me give a short example:

       

      // Brackets are visible in DW  
      ()[]{} These are visible, too
      I can see the "bla", but NOT the brackets before and after it. ()[]{} These here are visible again.

       

      So you see, brackets are somehow made invisible inside the script-tag, and I'd like to know how to make them visible again.

       

      Here's what I tried so far (everything without success):

      - restart Dreamweaver

      - restart PC

      - check the options menu (didn't find anything for this problem)

      - hide/show the script-tag using dreaweaver's feature for this.

        Intresting point here: when the part where the brackets are, are collapsed it shows me "()[]{}[..." as a preview. So even Dreamweaver "knows" the brackets are there, but still refuses to show them -_-

      - set the gui setting from "coder" to "classic" and back.

       

      Any help is appreciated!

      Thanks in advance, really need to solve this, since I am using alot of hardcoded 2-dimensional javascript arrays and therefore alot of []

       

      Best regards

      Michael

        • 1. Re: Problem: ()[]{} invisible inside the script-tag
          Michael Teitge Level 1

          Sorry for doubleposting, I should have read the manual for posting code :|

           

          here's the code I was giving as an example:

           

          <title>brackets work fine here: ()[]{}</title>
          <style type="text/css">
          .someclass {background:url(theseBracketsAreVisible.png)}
          </style>
          </head>

           

          <body>
          <div>()[]{} these are visible as well</div>
          <script language="javascript">()[]{}[bla]</script> I can see the "bla", but NOT the brackets before and after it.
          ()[]{} These here are visible again.

           

          </body>

           

           

          Sorry again..

           

          edit:

           

          I realised it hides words like "function" aswell o_O

           

          <script language="javascript">
          function test() {ar = new Array;ar = ["a","b","c"];alert(ar);};
          </script>

           

          The code above is visible for me in Dreamweaver like this:

           

          <script language="javascript">
          test ar =  Array;ar = "a","b","c";alertar;;
          </script>

           

          really strange..