Hello from Austria!

The new code folding feature works great in HTML files. But somehow I am
missing something for PHP files.

It folds complete functions, but not code blocks.

For example, in a PHP file:

Function works_nice() {
    // do something nice
}

The function "works_nice()" gets folded.
But an if-Statement does not get folded:

If ($weather == 'good') {
    // go swimming
}

I would like BBEdit to fold the code block inside the curly braces (in fact
every curly braces in case of PHP). I know I can do it manually, but this is
really cumbersome: select the whole code block, fold it. There is nothing in
the gutter and if you unfold it, you have to do it all over again.

Am I the only one who misses this function? Or am I missing some preference
here?

TextMate folds these code blocks, but I like BBEdits method of showing the
end of the block better:
In BBEDit folded: 
function something() {Š} // even comments on the last line are shown! Nice!

In TextMate:
function something() {Š


Paul



--
------------------------------------------------------------------
Have a feature request? Not sure the software's working correctly?
If so, please send mail to <[EMAIL PROTECTED]>, not to the list.
List FAQ: <http://www.barebones.com/support/lists/bbedit_talk.shtml>
List archives: <http://www.listsearch.com/BBEditTalk.lasso>
To unsubscribe, send mail to:  <[EMAIL PROTECTED]>

Reply via email to