Article View: comp.sys.mac.programmer.tools
Article #20tool to reformat text?
From: Burt Johnson
Date: Mon, 15 Sep 2003 01:54
Date: Mon, 15 Sep 2003 01:54
15 lines
1784 bytes
1784 bytes
I have just inherited a project that I will now be responsible for. The prior programmer used spaces to indent, while I strongly prefer tabs. Is there any program out there to go through and properly reformat the existing code? Note that I don't want to just use a simple seach-and-replace since that would also nail spaces embedded in quoted strings, etc. Also, by the nature of using spaces, sometimes he didn't have the exact correct number, so things could get a bit messy there too. -- - Burt Johnson MindStorm, Inc. http://www.mindstorm-inc.com/software.html
Technical Details
Message-ID:
<1g1ahp3.1s4wpdx131r9j6N%burt@mindstorm-inc.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!xmission!news-out.spamkiller.net!propagator2-maxim!news-in-maxim.spamkiller.net!news.he.net!newsfeed1.easynews.com!easynews.com!easynews!easynews-local!news.easynews.com.POSTED!burtShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f98ee,a5da9314df6a1e46,start X-Google-Attributes: gidf98ee,public X-Google-Thread: fd047,a5da9314df6a1e46,start X-Google-Attributes: gidfd047,public X-Google-Thread: f635e,a5da9314df6a1e46,start X-Google-Attributes: gidf635e,public X-Google-ArrivalTime: 2003-09-14 18:54:20 PST Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!xmission!news-out.spamkiller.net!propagator2-maxim!news-in-maxim.spamkiller.net!news.he.net!newsfeed1.easynews.com!easynews.com!easynews!easynews-local!news.easynews.com.POSTED!burt Newsgroups: comp.sys.mac.programmer.tools,comp.sys.mac.programmer.codewarrior,codewarrior.windows Subject: tool to reformat text? From: burt@mindstorm-inc.com (Burt Johnson) Reply-To: do-not-email@nowhere.com (nobody) Message-ID: <1g1ahp3.1s4wpdx131r9j6N%burt@mindstorm-inc.com> Organization: MindStorm User-Agent: MacSOUP/2.5b3 (Mac OS X version 10.2.6) Lines: 15 X-Complaints-To: abuse@easynews.com X-Complaints-Info: Please be sure to forward a copy of ALL headers otherwise we will be unable to process your complaint properly. Date: Mon, 15 Sep 2003 01:54:19 GMT