Path: utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!uunet!samsung!sdd.hp.com!hp-pcd!hpspkla!dubner From: dubner@hpspkla.spk.hp.com (Joe Dubner) Newsgroups: comp.os.msdos.programmer Subject: Re: Turbo C++ Editor Message-ID: <6060004@hpspkla.spk.hp.com> Date: 28 Jan 91 15:31:18 GMT References: <26519@uflorida.cis.ufl.EDU> Organization: Hewlett Packard Company, Spokane, Wa. Lines: 34 > I have been using the turbo C++ IDE for sometime for development, and have > found the editor to be very very nice! HOWEVER....there is the problem > that it constantly uses a mixture of tabs and spaces when it autoindents > and autounindents. I have turned OPTIMAL FILL off, I have told it o use [remainder deleted] Brian, I too have been very annoyed by the way the TC++ editor treats tabs, especially when I work on a file in which someone else has used a different tab stop setting. As a result, I always operate with tabs off and insist that anyone who shares files with me do the same. If there are no tabs in the file, printing (and editing) is as expected. It's easy to have tabs ON when you think they're OFF -- there are so many ways that TC++ derives its configuration information (TCINST, TCCONFIG.TC, .PRJ file, etc). Assuming that you have it configured correctly for tabs OFF, it sounds like your problem is due to tabs already being in the file. (Turning them off does not remove existing ones). 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 -------------------------------------------------------------------------- Joe Dubner K7JD | Hewlett Packard Company | dubner@hpspkla.HP.COM | TAFC-34 M.S. 2I | (509) 921-3514 | Spokane, WA 99220 | --------------------------------------------------------------------------