| delorie.com/archives/browse.cgi | search |
| 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: | <f1f40a0a DOT 0211071216 DOT fc82989 AT posting DOT google DOT com> <Xns92BFB6FE96519asu1cornelledu AT 132 DOT 236 DOT 56 DOT 8> <f1f40a0a DOT 0211072350 DOT 50f14265 AT posting DOT google DOT com> <jqs3tu0no9lsk67ip9pugocpsbvclke37u AT 4ax DOT com> |
| 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 <Enter> 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
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |