Page 2 of 2

Posted: Fri Nov 25, 2005 3:59 am
by Grim...
jshpro2 wrote:In dreamweaver 8 there is code collapsing, just highlight the code and hit collapse. Useful for things like:

Code: Select all

for ($i=0; $i<$count; $i++) {
     // 600 lines of code here
    
     // line you need to work on
}
Cut me in half and feed me to a horse, but wouldn't the example you just gave result in the line you wanted to work on collapsing along with the rest of the loop contents?

<edit>Quoted to save people going back a page to look</edit>

Posted: Fri Nov 25, 2005 4:02 am
by Skittlewidth
Is source folding the same as code collapsing?

Posted: Fri Nov 25, 2005 4:03 am
by malcolmboston
yes