A script here (http://groups.google.com/group/bbedit/browse_thread/ thread/47c18e29cb7139ad/) and here ( http://www.mediafire.com/?ndchk0imd9u9o ) will select all text up to (optionally through) a line containing a specified search string. I haven't tested it in BBEdit 10, but it might get you started.
Steve On Aug 2, 2:36 pm, Geoff Hicks <[email protected]> wrote: > Yes, thanks Seth. I had not previously experimented with that level of > scripting, so was bemoaning the loss of a built-in function and familiar > process. Further reading of the documentation will be required... > > Regards, > Geoff Hicks > > On 02/08/2011, at 11:54 PM, Seth Dillingham wrote: > > > > > > > > > On 7/30/2011, Geoff Hicks said: > > >> Finding and replacing multiple blocks of text bounded > >> by definable search strings that may be separated by many hundreds, if > >> not thousands of arbitrary lines has never been possible (stack > >> overflows, except when intervening lines < ~100) within TextWrangler > >> or BBEdit. The files may be many hundreds of MB in size. My only > >> workaround was to define a search expression for the start block and > >> another for the end block then alternate the searches, toggling the > >> extend selection checkbox in the modal find dialog. With key bindings > >> for all the components of this replacement strategy, excluding the > >> alternating search expressions, this process was reasonably efficient. > > > Geoff, > > > Have you considered using a script for this work? > > > You could certainly imitate the original behavior with a script. Run the > > first search, get the index of the result, run the second search, get the > > index of the result, set the selection to the full range. > > > No? > > > Seth > > > -- > > 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 "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>
