Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
General
GeneralPortable MacsHardwareNetworking
Applications
Mac ApplicationsEudoraFirefox / MozillaInternet ExplorerOutlook ExpressMS OfficeEntourageExcelPowerPointWordVirtual PCMedia PlayerOther MS Products
Programming
Mac ProgrammingCodeWarriorPerl
Country Specific
Australian Mac GroupUK Mac Group

Mac Forum / Programming / CodeWarrior / November 2003



Tip: Looking for answers? Try searching our database.

Code Formatting Request/Bug?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Ben Weiss - 26 Nov 2003 22:42 GMT
To Ron,

I have tons of code formatted as follows:

while (x < y) {
  Blah();
  }

Unfortunately, the options in the Code Formatting preferences don't seem
to able to handle this style of code. I would think that if "Indent
Braces" is checked, and "Place opening brace on separate line" is NOT
checked, then the above is what you would get, but this is not what
happens. (The closing brace is not properly indented.) Can you check
with the engineers whether this is a bug, and whether they can find a
way to accommodate the above style?

This is with the latest 9.1 patch, OSX 10.3, Dual 2GHz G5.

Thanks,

Ben

Signature

Ben Weiss               | Any technology distinguishable from magic
President & CTO         | is insufficiently advanced.
Shell & Slate Software  |                        - Clarke C. Arthur

MW Ron - 29 Nov 2003 01:28 GMT
>To Ron,
>
[quoted text clipped - 11 lines]
>with the engineers whether this is a bug, and whether they can find a
>way to accommodate the above style?

Yes I can,  I recall it coming up before but I can't find any note,
maybe I'm dreaming it.

>This is with the latest 9.1 patch, OSX 10.3, Dual 2GHz G5.

Oh  Send your system to me for 3 or 4 months and I'll see if I can
duplicate it.    It was worth a shot :)

Ron

Signature

                                New from Metrowerks
The CodeWarrior Wireless Development Kit for Symbian OS, SEMC P900 Edition
   Easy-to-use, integrated tools and hardware for SEMC P900 Development
http://www.metrowerks.com/MW/Develop/Wireless/Symbian/SymbianWDKC.htm

Ron Liechty - MWRon@metrowerks.com - http://www.metrowerks.com
Ron Liechty - MWRon@metrowerks.com - http://www.metrowerks.com

 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.