Thanks Chris, that's exactly what I needed. But I ended up with this:

*tell* *application* "BBEdit"

*tell* *text* *of* *front* *text window*

*set* fRec *to* *find* "\\S*[ \\t]*" options {search mode:grep, backwards:
true}

*if* found *of* fRec = true *then*

*delete* *text* *of* found object *of* fRec

*end* *if*

*end* *tell*

*end* *tell*

With a simple keybinding option-delete in BBEdit now matches the system 
default.

Also, it turns out I was wrong about option-arrow movements, BBEdit already 
matches the system default.

-- 
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>

Reply via email to