Path: utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!ccu.umanitoba.ca!herald.usask.ca!alberta!cpsc.ucalgary.ca!yogi.fhhosp.ab.ca!janus.mtroyal.ab.ca!ewilts From: ewilts@janus.mtroyal.ab.ca (Ed Wilts) Newsgroups: comp.sys.amiga.misc Subject: Re: TurboText demo Message-ID: <1991Mar24.123126.7535@janus.mtroyal.ab.ca> Date: 24 Mar 91 19:31:26 GMT References: <91077.151224GUTEST8@cc1.kuleuven.ac.be> <19980@cbmvax.commodore.com> Organization: BC Systems Corporation, Victoria, B.C. Lines: 33 In article <19980@cbmvax.commodore.com>, vertex@cbmvax.commodore.com (Martin Taillefer -- Software) writes: > In article <91077.151224GUTEST8@cc1.kuleuven.ac.be> GUTEST8@cc1.kuleuven.ac.be (Ives Aerts) writes: >>Implement a version of Xedit's all command. This is the most >>powerful command I've ever used in an editor. It lets you >>choose all the lines containing a certain pattern in a file >>and then all the changes you make only affect the selected >>lines. I've tried to do this in rexx with CygnusEd but it was >>too slow to work with. You can even make it more powerful >>and let you choose the context of the lines containing >>that pattern (i.e. the 3 lines before the one with the pattern) > > That certainly sounds interesting... That feature is also present in Digital's EDT (probably (tm)) editor. You can either make the changes to only those lines containing a given pattern, or even delete all lines that contain that pattern. This ability is REALLY powerful for processing large data files. It's rarely used for development, but some of us use our machines for tasks other than writing code. BTW, it sure would have been nice for TurboText to come with an EDT keypad emulation... There are a LOT of VMS users out there (including a fair share of DECies). I may have to actually break down and replace my trusty TxEd with TurboText. My biggest complaing about TurboText is its size. TxEd is 24k, whereas TurboText is over 160K. On memory tight systems, there are times some files simply can't be edited. I suspect (but haven't proven yet), that TurboText may also be using more working memory than TxEd for the same file. -- .../Ed Preferrred: Ed.Wilts@BSC.Galaxy.BCSystems.Gov.BC.CA Ed Wilts Alternate: EdWilts@BCSC02.BITNET (604) 389-3430 B.C. Systems Corp., 4000 Seymour Place, Victoria, B.C., Canada, V8X 4S8