I very very much want this as well.  It is not only easier to deal
with but makes debugging easier as well.

I am very hopeful that someone from BBedit will read this.

I use both if-then, loops, for-each's and switch's and none of them
fold.  Very frustrating.  I have asked before but have been told to
use the manual folding which is really a pain.

As as aside, it would also be great if HTML div's would fold in a php
script. I code a lot of Drupal modules and I have structures like
this:

<?php
if (condition):
?>
long html string
<?php
else:
?>
another html string
<?php
endif;
?>

If it would fold, I would use brackets but I cannot why it could not
fold in either case.  The brackets all fold in a javascript file.

S




On Apr 20, 10:48 am, solariane <lesco...@gmail.com> wrote:
> is it anyway to make BBedit Fold a case statement without the need to
> add { }
>
> for example :
>
> switch ($somecond) {
>   case 1:
>     some ;
>        PHP;
>          code;
>     break;
>   case 2 :
>     some ;
>        PHP;
>          code;
>     break;
>
> }
>
> it would be really nice to fold on "case" ( actually it could be nice
> in any language...JS too as far as I'm concern )
>
> furthermore, when writing if / elseif / else statement, the behaviour
> change for the folding of else statement :
> 1. if no elseif, folding OK no matter what
> 2. if elseif not followed by {}, folding OK too
> 3. if elseif followed by {}, folding OK only when else is on a new
> line, other the else statement doesn't fold

-- 
You received this message because you are subscribed to the 
"BBEdit Talk" discussion group on Google Groups.
To post to this group, send email to bbedit@googlegroups.com
To unsubscribe from this group, send email to
bbedit+unsubscr...@googlegroups.com
For more options, visit this group at
<http://groups.google.com/group/bbedit?hl=en>
If you have a feature request or would like to report a problem, 
please email "supp...@barebones.com" rather than posting to the group.
Follow @bbedit on Twitter: <http://www.twitter.com/bbedit>

Reply via email to