> I'm running BBEdit 8.7 (222) and am having trouble getting the code folding
> to work right. I swear in previous versions PHP functions and code blocks
> would pretty much all display the disclosure triangle in the gutter to allow

It's working for me in BBEdit 8.7.

I've seen this happen before when I've been outputting something that
looks like an XML start string, i.e., <?xml.  In order to resolve the
BBEdit issue, I would just set the string using a concatenate
operator, i.e., '<?' . 'xml'

I've also seen it when there is some kind of syntax error in the
document or if you break the PHP out into the HTML file.  Sometimes
there is something in the non-php-parsed content that throws BBEdit
for a loop.

Is the file named something.php? Is the document type at the bottom
left set to php or HTML?

If all else fails, you can try making a simple php file and seeing if
the code folding works.  Something like:

<?php

function something() {

echo 'whatever';
echo 'whatever';
echo 'whatever';
echo 'whatever';

}

?>

If that works, try deleting about half of your PHP document and seeing
if the folding starts working.  If not, undo and delete the other
half.  Keep that up until you find what's throwing BBEdit's parser out
of whack.

Hope something there might help.

-Paul Burney

-- 
------------------------------------------------------------------
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