From: rrd AT ftc DOT agilent DOT com (Ray Depew) Newsgroups: comp.os.msdos.djgpp Subject: Re: problem with rhide C indent Date: Wed, 13 Nov 2002 16:43:37 +0000 (UTC) Organization: Agilent Technologies Lines: 38 Message-ID: <1037205817.693709@cswreg.cos.agilent.com> References: NNTP-Posting-Host: cswreg.cos.agilent.com X-Trace: cswtrans.cos.agilent.com 1037205817 29830 130.29.154.45 (13 Nov 2002 16:43:37 GMT) X-Complaints-To: usenet AT cswtrans DOT cos DOT agilent DOT com NNTP-Posting-Date: Wed, 13 Nov 2002 16:43:37 +0000 (UTC) X-Newsreader: TIN [version 1.2 PL2.11] Cache-Post-Path: cswreg.cos.agilent.com!unknown AT icbdxts2 DOT ftc DOT agilent DOT com X-Cache: nntpcache 2.3.3 (see http://www.nntpcache.org/) To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Vladimir Zhuchko (zhuchko AT lnr DOT jinr DOT ru) wrote: : I have some problems with the C indent under rhide: : I always have : for(;;) : { : jkhjkhjhjkhjk : } : instead of : for(;;) : { : jkhjkhjhjkhjk : } : after pressing. : How to correct this? : With best regards : Vladimir E. Zhuchko Gvim 6.1 handles it exactly the same way. Instead of typing jkhjkhjhjkhjk add a semicolon (;) to the end, like this jkhjkhjhjkhjk; See if that causes Rhide to put the } in the correct place. It works with Gvim. -- Regards | C++ is like a Swiss Army knife with a chainsaw Ray Depew | attachment. You can program most anyway you want, replace "@" with "a": | but it's really, really easy to cut your leg off. r AT y_depew@agilent.com | -- Alex Pavloff explains C++ on comp.arch.embedded