On Nov 18, 2011, at 05:01, Marek Stepanek wrote:
> Once upon a time there was a feature in the search window "extend selection" 
> with search backwards or the other direction.
> 
> I have a long file with email sources. The attached files encoded with base64 
> are difficult to strip out. I have to scroll a long while to get to the end 
> of these base64 blocks.
> 
> Is there any means to look for the next "\r\r", extending the selection?

______________________________________________________________________

Hey Marek,

You are not the first to notice this change.  If it makes you unhappy then 
complain to support: [email protected].

In the meantime you can script it:

try
  tell application "BBEdit"
    tell text of front text document
      set bbFind to find "\\r{2}" selecting match true ลน
        options {backwards:false, case sensitive:false, extend selection:true, 
match words:false, returning results:false, search mode:grep, showing 
results:true, starting at top:false, wrap around:false}
    end tell
  end tell
on error errMsg number errNum
  set {cr, sep} to {return, "------------------------------------------"}
  set e to sep & cr & "Error: " & errMsg & cr & sep & cr & "Error Number: " & 
errNum & cr & sep
  beep
  display dialog e
end try

You don't need all the options (some of them are defaults).  I've left them all 
in, so you can see what they are.

--
Best Regards,
Chris

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