This is great!

I duplicated this search to repeat on ";" :

tell application "BBEdit"
        find ">" searching in text 1 of text document 1 options {search
mode:grep, starting at top:false, wrap around:false, backwards:false,
case sensitive:false, match words:false, extend selection:false} with
selecting match
        select insertion point after selection
        find ";" searching in text 1 of text document 1 options {search
mode:grep, starting at top:false, wrap around:false, backwards:false,
case sensitive:false, match words:false, extend selection:false} with
selecting match
        select insertion point after selection
end tell

Probably a more efficient way to do that, but keeps me happy for now.

Thanks for sharing.

On Nov 17, 1:21 am, Roland Küffner <medienmeis...@googlemail.com>
wrote:
> Am 16.11.2011 um 20:40 schrieb Rob:
>
> > Is there a way to get out of the clipping completion via TAB/NEXT?
>
> I use a very basic applescript to something like this, although not with 
> TAB/NEXT. Via the script recording function I recorded a simple search for 
> the closing parenthesis '>'. It looks like this (beware possible unwanted 
> line breaks in the mail):
>
> tell application "BBEdit"
>         find ">" searching in text 1 of text document 1 options {search 
> mode:grep, starting at top:false, wrap around:false, backwards:false, case 
> sensitive:false, match words:false, extend selection:false} with selecting 
> match
>         select insertion point after selection
> end tell
>
> This moves the cursor right after the next (or current) tag. Very simple, but 
> I use it all the time to ease navigating HTML (and XML) documents. Just don't 
> forget to assign a keyboard shortcut to it.
>
> -Roland

-- 
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.
Follow @bbedit on Twitter: <http://www.twitter.com/bbedit>

Reply via email to