[OT] Rev + BBEdit

Ben Rubinstein benr_mc at cogapp.com
Tue Feb 17 07:18:23 EST 2009


Robert Brenstein wrote:
>  Regex is indeed a built-in option for global search and that search
> finds all objects that contain the search string. However, I was 
> referring to searching within a single script, a script I am editing. 
> Right now, one can search in the editor by hoping from instance to 
> instance of the string. What I had in mind was seeing all lines with a 
> given string at once. There is not grep option for the search or replace 
> within the editor, either. At least not that I see that in 3.0.

Perhaps I've missed something, but I think that both these excellent 
facilities are indeed available in 3.0.  If you click on the "+" button at the 
bottom right of the script editor "Find and replace", it supports grep.  And 
the  "Find All" option shows in the "Search Results" tab at the bottom of the 
script editor all lines with matching strings at once.  Even better, you can 
do this across all open (in the script editor) scripts.

I've requested that this should extend to all scripts that aren't open, 
because the presentation - when you're searching code - is so much more useful 
than the generic "Find and Replace".  That is, that the options should be:
   - Current Tab
   - All Tabs
   - Current Card
   - Current Stack
   - Current Stack File
   - (All open stack files)

See <http://quality.runrev.com/qacenter/show_bug.cgi?id=7321>.

So I think it could be even better - but I think it is there.  Or perhaps I've 
misunderstood your point.

- Ben




More information about the Use-livecode mailing list