Path: utzoo!utgpu!cunews!bnrgate!brchh104!brchs1!bnr.ca!rice.edu!sun-spots-request From: hugh@slee01.srl.ford.com (Hugh Fader) Newsgroups: comp.sys.sun Subject: Infinite replace in textedit Keywords: Windows Message-ID: <3805@brchh104.bnr.ca> Date: 12 Jun 91 19:40:00 GMT Sender: news@brchh104.bnr.ca Organization: Sun-Spots Lines: 12 Approved: Sun-Spots@rice.edu X-Original-Date: 6 Jun 91 14:28:25 GMT X-Sun-Spots-Digest: Volume 10, Issue 108, message 2 X-Note: Submissions: sun-spots@rice.edu, Admin: sun-spots-request@rice.edu We have just discovered an interesting bug in textedit under OpenLook. Say I am editing a file containing the word myfile only once. If in the Text:Find and Replace menu I put myfile in the Find field and put ../myfile in the Replace field, then press the Replace All button, the editor goes into an infinite loop replacing myfile with ../myfile over and over. Can others duplicate this? It seems like a great party trick. :-) Hugh Fader hugh@slee01.srl.ford.com