> .... (or something like that) telling me that I have 2 open
> left curly braces and 1 open left paren. When I get done, it
> should say +0 {, +0 ( (or maybe just simply "balanced"). That
> way I don't have to run my script to see if I remembered to
> close everything.
I use syntax checks with my Ruby and PHP files - this problem, and
other similar typos, are easily flagged. I run the syntax check
fairly frequently, at least with every file save (the assigned key
combos have become habitual now), so I don't need to look far to
find the error. I started with John Gruber's "PHP Syntax Checking in
BBEdit" and modified it to suit my needs (e.g. play chime instead of
alert on correct syntax, handle Ruby, remove hard-coded path to
language interpreter).
<http://daringfireball.net/2003/12/php_syntax_checking_in_bbedit>
--
Jeremy Weathers
I have two great enemies, the southern army in front
of me and the financial institutions in the rear.
Of the two, the one in my rear is the greatest foe.
- Abraham Lincoln
--
------------------------------------------------------------------
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]>