I'm not sure what you mean by a "section", but here's a script that will 
select up to any characters. You can then search the selection.

Steve


(* Select up to any characters:
>> Opens a find window for the characters
>> Examples:
>> To select up to a double line break,  enter (unquoted) "\r\r"
>> To select up to "*/", enter "\*\/"
>> *)
>> tell application "BBEdit"
>> set _searchto to the text returned of (display dialog "Enter search 
>> string" default answer "")
>> set _sstring to "(?s).+?(?=" & _searchto & ")"
>> find _sstring searching in text 1 of front document options {search 
>> mode:grep, starting at top:false, wrap around:true, backwards:false, case 
>> sensitive:false, match words:false, extend selection:true} with selecting 
>> match
>> end tell
>>
>
>
On Tuesday, April 16, 2013 2:56:39 AM UTC-4, David A. Lewis wrote:
>
> It seems to me that  BB has REMOVED several functions from the Search 
> Dialogue box that I (previously) found very very useful.
>
> One of them, the most irritating new ommission, is the checkbox, that 
> would "extend the selection", so that if I put the text-insertion point 
> into a document at the beginning of a section, had "extend selection" 
> checked-on, and then searched for a word at (for example) the end of that 
> section, the ENTIRE BLOCK OF TEXT would be highlighted.
>
> So, where have they hidden this feature in the new "improved" version 10? 
>   PLEASE bring it back, (or advise on where it went! :O)
>

On Tuesday, April 16, 2013 2:56:39 AM UTC-4, David A. Lewis wrote:
>
> It seems to me that  BB has REMOVED several functions from the Search 
> Dialogue box that I (previously) found very very useful.
>
> One of them, the most irritating new ommission, is the checkbox, that 
> would "extend the selection", so that if I put the text-insertion point 
> into a document at the beginning of a section, had "extend selection" 
> checked-on, and then searched for a word at (for example) the end of that 
> section, the ENTIRE BLOCK OF TEXT would be highlighted.
>
> So, where have they hidden this feature in the new "improved" version 10? 
>   PLEASE bring it back, (or advise on where it went! :O)
>

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

--- 
You received this message because you are subscribed to the Google Groups 
"BBEdit Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to