Re: PHP Formatting, Syntax Checking, Pasting Non-Breaking Spaces

2009-04-01 Thread Paul Burney
> I've been playing with the php syntax check that is called from the > command line (via the script linked above) and it usually gets the > line number wrong. Sometimes high, sometimes low. I think that > comments, or perhaps lines without a ";" confuse it. Indeed, it sometimes seems off but it

Re: PHP Formatting, Syntax Checking, Pasting Non-Breaking Spaces

2009-03-31 Thread Warren Michelsen
At 10:03 AM -0700 3/31/09, Dennis sent email regarding Re: PHP Formatting, Syntax Checking, Pasting Non-Breaking S: >On Mar 31, 2009, at 9:18 AM, Warren Michelsen wrote: > >> Does BBEdit have the ability to format and syntax check php code as >> it does html code? > >No, but syntax checking ca

Re: PHP Formatting, Syntax Checking, Pasting Non-Breaking Spaces

2009-03-31 Thread Paul Burney
> Does BBEdit have the ability to format and syntax check php code as it does > html code? >Is there a hidden php palette somewhere that I have yet to find? I don't know of a solution to your pasting non-breaking spaces issue, but as Dennis said it's possible to syntax check and format PHP files

Re: PHP Formatting, Syntax Checking, Pasting Non-Breaking Spaces

2009-03-31 Thread Dennis
On Mar 31, 2009, at 9:18 AM, Warren Michelsen wrote: > Does BBEdit have the ability to format and syntax check php code as > it does html code? No, but syntax checking can be easily added: http://daringfireball.net/2003/12/php_syntax_checking_in_bbedit I suppose you could do something simila

PHP Formatting, Syntax Checking, Pasting Non-Breaking Spaces

2009-03-31 Thread Warren Michelsen
Does BBEdit have the ability to format and syntax check php code as it does html code? Is there a hidden php palette somewhere that I have yet to find? And, as long as I've got your attention, when I use sites like the output code comes back formatted using non-b