>From AppleScript Editor you can open dictionaries for each
application. Check out BBEdit's and look for the pieces that let you
look at the current line, then you can make use of the regex you gave
combined with grep search and you should be on your way pretty
quickly. Getting use to the Applescript language will be the biggest
hurdle.

-Kendall

On Jul 29, 4:37 pm, offtone <aaro...@gmail.com> wrote:
> I'm more of a web developer and am brand new to OS X/Apple as of last
> month. My PC editors had a sorely-missed feature that basically
> enabled the HOME button on my keyboard to intelligently go to the
> "real" beginning of the line I was on. That is, it would place the
> insertion point after ^\s+ on that line, essentially.
>
> The problem: I have no idea where to start on this... I have a feeling
> that once I get started in Apple Script for BBEdit, I'm going to be
> making all kinds of handy things, but this feature is the one I miss
> most, so it's my first.
>
> Anyone have any advice to get me started? Haha. Don't write it for
> me... No fun in that. I'm just not sure how to access the active line,
> or how to move the insertion point. I think from there, I'd be well on
> my way.
>
> Thanks!

-- 
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 bbedit@googlegroups.com
To unsubscribe from this group, send email to
bbedit+unsubscr...@googlegroups.com
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 "supp...@barebones.com" rather than posting to the group.

Reply via email to