Re: Search, start at top and other things

2018-01-18 Thread Bernardo
ay to look into an option in the Search dialog, but they are old posts, with the old modal dialog. So, it is no longer possible to seach a documlent directly from its top? Than you. Le mercredi 17 janvier 2018 14:50:07 UTC+1, Rich Siegel a écrit : > > On 1/17/18 at 7:24 AM, issa...@gmail.com (Bernardo

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)

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.

Search, start at top and other things

2018-01-17 Thread Bernardo
Just upgraded BBEdit from 9.6 to 12... Lots of nice features, but searching/replacing text aren't now convenient! 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

Re: Applescript to change line breaks ?

2018-08-13 Thread Bernardo
OK, I reply to myself. It works with: set docList to every text document > repeat with doc in docList > tell doc to set line breaks to DOS > -- This is the BBEdit Talk public discussion group. If you have a feature request or would like to report a problem, please

Re: Applescript to change line breaks ?

2018-08-13 Thread Bernardo
I fogot to say that is for BBEdit 9.6.3 -- This is the BBEdit Talk public discussion group. If you have a feature request or would like to report a problem, please email "supp...@barebones.com" rather than posting to the group. Follow @bbedit on Twitter: --- You

Applescript to change line breaks ?

2018-08-13 Thread Bernardo
Hello, I'm trying to create an Applescript to change open documents line breaks to DOS (CRLF), so I wrote: on processOpenDocs() > repeat with thisDoc in documents > tell thisDoc to set line breaks to DOS > end repeat > end processOpenDocs > But it throws an error telling "Unix"

Re: Applescript to change line breaks ?

2018-08-14 Thread Bernardo
Thank you Chris. -- This is the BBEdit Talk public discussion group. If you have a feature request or would like to report a problem, please email "supp...@barebones.com" rather than posting to the group. Follow @bbedit on Twitter: --- You received this message

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-22 Thread Bernardo
Thanks John. This version works :) property startAtTop : true property wrapAround : false property caseSensitive : false property matchWords : false - tell application "BBEdit" - set