Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!helios!venus.tamu.edu!rdw2030 From: rdw2030@venus.tamu.edu Newsgroups: comp.os.msdos.programmer Subject: Re: Turbo C++ Editor Message-ID: <11576@helios.TAMU.EDU> Date: 29 Jan 91 02:28:21 GMT References: <26519@uflorida.cis.ufl.EDU> <6060004@hpspkla.spk.hp.com> Sender: usenet@helios.TAMU.EDU Reply-To: rdw2030@venus.tamu.edu Organization: Texas A&M University Lines: 22 News-Software: VAX/VMS VNEWS 1.3-4 In article <6060004@hpspkla.spk.hp.com>, dubner@hpspkla.spk.hp.com (Joe Dubner) writes... >You can expand all tabs in a source file with a simple utility. One >that has been available from various sources since "day one" is >TABSPC.COM. I wrote my own in C and I'll Email it to you if you like. >Regards, >Joe Even easier than this is doing a literal search and replace of the ^I character from within the Turbo C editor. If you are familiar at all with WordStar, the Turbo C editor emulates it to a T (whatever that means!) :-) All you have to do is type ^Q^A and enter (I think!) ^P to enable you to enter a literal. You have to hit ^P for each literal, not just once for a whole string. Then when it asks you what to replace each tab with, just hit some spaces (I use 3). Then shut off your tabs and you should be good to go! Turbo C++ gives you an entire window full of information and options for the replace, so you should be able to figure it out. Good luck! Mark C. "Bro!" Lowe - KB5III