2 Replies Latest reply: May 22, 2011 11:18 AM by Nancy O. RSS

    Is there a way to mark my place in code view?

    jl2000 Community Member

      Hi -

      My favorite text editor, BBEdit, has a way to set a marker in a text file so that I can jump back to that spot by selecting it from a menu.

       

      Now I'm using DW CS5 and scrolling up and down on the page is making me crazy.  I'm hoping DW has the same "set marker" feature feature somewhere.

       

      Can someone tell me if it exists and where it is?

       

      Thanks

      JL

        • 1. Re: Is there a way to mark my place in code view?
          370H55V Community Member

          DW has something (IMHO) far better.

           

          Code Collapse.

           

          Scroll over a block of code (a table for instance - from <table> to </table>.

          To the left you'll see a little square with a - in it. Click the square and the whole table collapses into a single button. Do that for each element of the page and pretty soon 1200 lines are about 50 and really easy to work with. Save the document and when you re-open it the collapsed code stays collapsed.

          • 2. Re: Is there a way to mark my place in code view?
            Nancy O. CommunityMVP

            Insert comments into your code.  Use Find (Ctrl+F), current document, source code to jump back to where you need to go.

             

                      /**this is a CSS comment**/

             

                      <!--this is an HTML comment -->

             

                      //this is a JavaScript comment//

             

             

             

            Nancy O.
            Alt-Web Design & Publishing
            Web | Graphics | Print | Media  Specialists 
            http://alt-web.com/
            http://twitter.com/altweb