Re: Handling dollar signs in search and replace

2021-05-28 Thread Duncan Thorne
h him well — although it’s a pity he didn’t convert T-E+ to 64-bit first 浪. Priorities! Cheers, Duncan > On May 27, 2021, at 5:50 PM, Christopher Stone > wrote: > > On 05/26/2021, at 21:42, Duncan Thorne <mailto:duncan...@gmail.com>> wrote: >> I just noticed that

Re: Handling dollar signs in search and replace

2021-05-27 Thread Duncan Thorne
26, 2021 at 4:30:08 PM UTC-6 listmei...@gmail.com wrote: > On 05/25/2021, at 23:19, Duncan Thorne wrote: > > Here's a sample line from my script where things go wrong: > > *tell* *front* *text window's* *text* > > *replace* "2021 > > \$" using " \$&qu

Re: Handling dollar signs in search and replace

2021-05-26 Thread Duncan Thorne
It works! Also, much tidier. Thanks Rich for that, and to everyone else for all the hand holding. I can't thank you enough. On Wednesday, May 26, 2021 at 7:12:21 AM UTC-6 sie...@barebones.com wrote: > On 26 May 2021, at 0:19, Duncan Thorne wrote: > > > You are all a helpful bunch b

Re: Handling dollar signs in search and replace

2021-05-26 Thread Duncan Thorne
.@gmail.com wrote: > On 05/25/2021, at 19:17, Duncan Thorne wrote: > > I'm stumped when it comes to reformatting a text line that begins with a $ > symbol. I want to replace the preceding line's line break, followed by the > new line's $, with a tab-$. > For inst

Handling dollar signs in search and replace

2021-05-25 Thread Duncan Thorne
I'm stumped when it comes to reformatting a text line that begins with a $ symbol. I want to replace the preceding line's line break, followed by the new line's $, with a tab-$. For instance: ... 2021 $0.23 changed to: ... 2021 (tab) $0.23 BBEdit search-and-replace treats $ as a special search

Line breaks: How to avoid them?

2021-05-25 Thread Duncan Thorne
At the end of each of my find-and-replace applescript lines, for massaging text, the result includes an unwanted line break. Is there a way to avoid this? -- This is the BBEdit Talk public discussion group. If you have a feature request or need technical support, please email

Re: Finding & replacing text with Applescript

2021-05-25 Thread Duncan Thorne
I'm not sure what I started but I certainly appreciate the help, Rich and Chris - D On Monday, May 24, 2021 at 9:40:32 PM UTC-6 listmei...@gmail.com wrote: > On 05/24/2021, at 21:44, Rich Siegel wrote: > > his is a good script. Some feedback: as a matter of best practices and > future

Re: Finding & replacing text with Applescript

2021-05-25 Thread Duncan Thorne
:37, Christopher Stone wrote: > > > On 05/24/2021, at 19:11, Duncan Thorne > <mailto:dunc...@gmail.com>> wrote: > >> I'm pretty clueless with Applescript so please bear with me. I want > >> to copy text from a Safari table, paste it into a new BBEdit window > >

Finding & replacing text with Applescript

2021-05-24 Thread Duncan Thorne
I'm pretty clueless with Applescript so please bear with me. I want to copy text from a Safari table, paste it into a new BBEdit window and do some text manipulation, mostly finding and replacing. I managed this with the old Tex-Edit Plus (not TextEdit) which is unfortunately 32-bit. With T-E+