Re: Search Replace with lf and/cr

2013-08-29 Thread Dr. Hawkins
On Tue, Aug 27, 2013 at 1:56 AM, Richmond richmondmathew...@gmail.com wrote: numToChar(2325)) break i.e. stripped out the linefeed. Obviously that is no good. I've always found it simplest to change the difficult character to ZZZ or myMagicString, make my changes, and move it back. . . --

Search Replace with lf and/cr

2013-08-27 Thread Richmond
This is a really hard nut to crack: I have a very long script that features lines that end like this: numToChar(2325)) and lines that end like this numToChar(2325)) the top example is followed by a line that starts with set, and the lower example is followed by break: numToChar(2325))

Re: Search Replace with lf and/cr

2013-08-27 Thread Richmond
Hey: nothing new round these parts: Richmond replying to his own message. This is one of those moments when I want to shout Hallelujah from the roof tops . . . I have just discovered KOMODO EDIT: http://www.activestate.com/komodo-edit and it really rocked my socks as it allows a multiline

Re: Search Replace with lf and/cr

2013-08-27 Thread Mark Schonewille
Hi Richmond, I don't understand why this is a poblem and why you would try this in LibreOffice. put the script of myControl into myScript replace ) break with ) cr beep cr break in myScript set the script of myControl to myScript put the result into rslt if rslt is not empty then beep

Re: Search Replace with lf and/cr

2013-08-27 Thread Richmond
On 08/27/2013 12:21 PM, Mark Schonewille wrote: Hi Richmond, I don't understand why this is a poblem and why you would try this in LibreOffice. put the script of myControl into myScript replace ) break with ) cr beep cr break in myScript set the script of myControl to myScript put the