Thanks for the quick reply.

The problem I have is that this method is not preserved - - it would
be great to be able to set a permanent custom fold point.

What is actually need in my php scripts - - and I think this has to do
with how my preferences are set - - is the ability to fold if-else and
switch blocks (such as " if (conditional) {  . . . code .  . . } else
{ . . . code . . . } " ).  In php, only "function" blocks fold.  It
would be a huge time saver for me if could fold if-else blocks.

Oddly, (to my mind), in javascript, these blocks do fold.

- - So here is the question:
Is there some way in language settings in preferences (or elsewhere)
to force all blocks if-else and switch blocks to fold?

Thanks so much

On Mar 15, 10:56 am, Steve Kalkwarf <[email protected]> wrote:
> On Mar 15, 2010, at 10:50 AM, [email protected] wrote:
>
> > I have writing lots of scripts lately in PHP and jQuery. Certain
> > functions are quite a few lines and I need to be able to create
> > "custom fold" points that enclose blocks of code - - opening and
> > closing like a normal fold - - for easier debugging.  I know this can
> > be done but cannot find the method.
>
> Select the text you want to fold, and choose "Fold Selection" from the View 
> menu. The command is also on the contextual menu.
>
> Steve

-- 
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 [email protected]
To unsubscribe from this group, send email to
[email protected]
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 "[email protected]" rather than posting to the group.

To unsubscribe from this group, send email to 
bbedit+unsubscribegooglegroups.com or reply to this email with the words 
"REMOVE ME" as the subject.

Reply via email to