Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

weird codesense indentation?



When I type the following:
private:
std::string path(); //the path where the search engine (makefile) is located



EnhancementControl enhancements;

public:

      SearchControl();
   //what am I doing here?

Hitting return after typing "private:" indents the insertion point under the v, one tabstop in from the left. After typing "public:", no matter how many times I hit return, the insertion point ends up under the colon (as shown) for the FIRST LINE ONLY!! Subsequent lines go back to the same indentation as for private (which is where I think they belong).

What the heck is going on here? Is it something I'm doing, or a bug in XCode?

On a barely related note, is there no way to get Mail to indent a block of text without putting quote characters at the front? I think this is the only email program I've ever used that doesn't seem to have this ability (including pine!), and it's driving me insane. For example, I really would have liked to indent the above bit of code, but I'm not about to preface it with '|'.

Markian
----
Quantum mechanics -- the dreams that stuff is made of.


_______________________________________________ Do not post admin requests to the list. They will be ignored. Xcode-users mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/xcode-users/email@hidden

This email sent to email@hidden


Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.