I'm sorry for my previous reply Frank ... : ( ... because you're right. In the AppleScript Dictionary I see this works only for html tags. And unfortunately I'm not able to help you.
On Jan 2, 1:06 am, FrankS <[email protected]> wrote: > When I try it out, it seems to work in html-mode where the text > between html-tags is selected, but not in any non-html language > mode...unless there is something I missed. > I need it for lisp-like language where the "tags" are "(" and ")". > > Could you pls confirm that it only works for html, or maybe show a > working applescript example? > > Thanks, Frank. > > On Dec 19 2011, 6:55 pm, Stefano <[email protected]> wrote: > > > > > > > > > Hi, > > > You should use this Applescript command: > > > balance tags > > > On Dec 11, 4:20 am, FrankS <[email protected]> wrote: > > > > The "Balance" command in the View menu (cmd-B) selects the code within > > > the outer form defined by parenthesis/brackets and such. > > > > This is very useful for lisp/clojure languages. > > > > I'm trying in a script to select the form in which the cursor resides > > > to send it to an external repl, > > > but I cannot find any applescript command that will give me the > > > equivalent of this "Balance" menu command... > > > > Any help or suggestions are much appreciated. > > > > Thanks, FrankS. -- 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. Follow @bbedit on Twitter: <http://www.twitter.com/bbedit>
