Mailing Lists: Apple Mailing Lists

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

Re: Return key



David Dunham wrote:
I've already complained that the return key doesn't work at all the same in Xcode 3.0 (not sure if I mentioned that when you use the toolbar to search Xcode documentation, in 2.4 return would start the search, in 3.0 it doesn't).

But I'd at least expect that it would work the same in an editor window.

I have a text key binding of return to "Insert Newline and Indent." In Xcode 2.4, this does indeed indent. In Xcode 3.0 it never indents. (I have "Syntax-aware indenting" off in both.)

Did I miss a release note, or is this a bug? Is there still a way to press the return key and get exactly the same amount of indent as the line the insertion point was on?

It is a bug. (I reported it, but don't have the Radar number handy.) You are using the "Metrowerks compatible" set of key bindings, correct? Here's how to fix it.


1. Duplicate the key binding set, so it will be modifiable.
2. Click the "Text Key Bindings" tab.
3. Scroll down to "Insert Newline and Indent".
4. Remove the key assigned to that function, and then reset it to the Return key.
5. Click OK to save the settings.


You won't see any difference in the preferences window before and after step 4, but there is a difference in the binding set file.
--
James W. Walker, Innoventive Software LLC
<http://www.frameforge3d.com/>
_______________________________________________
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
References: 
 >Return key (From: David Dunham <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.