Re: Search, start at top and other things

2018-03-03 Thread Christopher Stone
On 02/06/2018, at 23:50, Jean-Christophe Helary > wrote: > On Feb 5, 2018, at 11:44, Christopher Stone > wrote: >> Under some circumstances you have to

Re: Search, start at top and other things

2018-02-06 Thread Jean-Christophe Helary
> On Feb 5, 2018, at 11:44, Christopher Stone > wrote: > >> I can't seem to directly: >> set PREV_SEARCH_STRING to search string of PREV_SEARCH_STRING > > Hey John, > > Under some circumstances you have to expand the property before you can get > to the

Re: Search, start at top and other things

2018-02-04 Thread Christopher Stone
On 01/21/2018, at 09:56, John Muccigrosso > wrote: > I can't seem to directly: > set PREV_SEARCH_STRING to search string of PREV_SEARCH_STRING Hey John, Under some circumstances you have to expand the property before you can get to the

Re: Search, start at top and other things

2018-01-22 Thread Bernardo
Thanks John. This version works :) property startAtTop : true property wrapAround : false property caseSensitive : false property matchWords : false - tell application "BBEdit" - set

Re: Search, start at top and other things

2018-01-22 Thread John Muccigrosso
On Monday, January 22, 2018 at 9:34:40 AM UTC-5, Bernardo wrote: > > Thanks for your reply, John. > Unfortunately, Applescript editor complains about an expected end of line > on the word "search" at the first line... I don't know why. > >> >> *set* PREV_SEARCH_STRING *to* current search

Re: Search, start at top and other things

2018-01-22 Thread Bernardo
Thanks for your reply, John. Unfortunately, Applescript editor complains about an expected end of line on the word "search" at the first line... I don't know why. > > *set* PREV_SEARCH_STRING *to* current search strings > >*set* PREV_SEARCH_STRING *to* search string *of*

Re: Search, start at top and other things

2018-01-21 Thread John Muccigrosso
On Saturday, January 20, 2018 at 8:52:51 AM UTC-5, Bernardo wrote: > > OK, I found this applescript that could do the job but, as I'm a total > applescript newbie, I don't know how to retreive the last search string > (the one which populate the built-in search dialog). This prev search >

Re: Search, start at top and other things

2018-01-20 Thread Bernardo
OK, I found this applescript that could do the job but, as I'm a total applescript newbie, I don't know how to retreive the last search string (the one which populate the built-in search dialog). This prev search should replace in the following PREV_SEARCH_STRING script. Thanks for your help.

Re: Search, start at top and other things

2018-01-19 Thread Bernardo
Don't you think a checkbox for "Start at top" in the Search/Replace dialog would be more convenient? Live Search is great, but it's another kind of Search. Le jeudi 18 janvier 2018 18:37:36 UTC+1, Rich Siegel a écrit : > > On 1/18/18 at 11:49 AM, issa...@gmail.com (Bernardo) wrote: > > >So,

Re: Search, start at top and other things

2018-01-18 Thread Rich Siegel
On 1/18/18 at 11:49 AM, issarf...@gmail.com (Bernardo) wrote: So, it is no longer possible to seach a documlent directly from its top? You can still do so - the "Start at Top" option is gone, but you can: - press Command-up-arrow to jump to the beginning of the document before searching;

Re: Search, start at top and other things

2018-01-18 Thread Bernardo
Concerning start searching at top in the frontmost document, I performed this search before my first post but only found users asking the same feature. I just did a new search without finding any workaround, only the "Wrap around" option, which is different. Some users say to look into an

Re: Search, start at top and other things

2018-01-17 Thread Rich Siegel
On 1/17/18 at 7:24 AM, issarf...@gmail.com (Bernardo) wrote: I loved to use cmd-F to start searching *from the top* of the document, wherever insertion point is. With old versions, I remember this advanced setting could be use: defaults write com.barebones.bbedit FindDialog:RememberStartAtTop