Is there any HTML markup--or anything that looks like HTML markup--in this function?
I often find that functions with fragments of HTML in them confuse BBEdit, even if the tags are enclosed in quotes, and expressions like "if(y<x)" look like HTML to BBEdit's parser because of the "<" followed by [a-z]. Inserting spaces will prevent that, and make the expression more readable. For the other issue, try wrapping the Javascript in <![CDATA[*]]> so BBEdit won't try to parse it. On Dec 8, 8:42 am, Doug Lerner <[email protected]> wrote: > On Dec 8, 2009, at 10:04 PM, Steve Kalkwarf wrote: > > > On Dec 7, 2009, at 9:16 PM, douglerner wrote: > > >> Anybody ever see anything like that before? Any idea of the cause? > > > Are there any unbalanced quotes, apostrophes or other "paired" punctuation > > in your function? > > > Steve > > Not as far as I can tell. > > And, as mentioned in my post: > > (1) The file compiles just fine and the function runs without error. > > (2) The same function can be copied and pasted into a new BBEdit file, > whereupon it does balance brackets. > > Very strange. > > doug -- 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.
