• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: In all UI fields, return enters new line (rather than clicking OK)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: In all UI fields, return enters new line (rather than clicking OK)


  • Subject: Re: In all UI fields, return enters new line (rather than clicking OK)
  • From: Brian Stern <email@hidden>
  • Date: Mon, 3 Mar 2008 17:04:04 -0500

Well, since those who know won't tell this is what I did and it seems to have worked:

Make a copy of this file:

/Xcode2.5/Library/PrivateFrameworks/DevToolsInterface.framework/Versions/A/Resources/Metrowerks Compatible.pbxkeys

and rename it to Copy of “Metrowerks Compatible”.pbxkeys

Move it here:

~/Library/Application\ Support/Xcode/Key\ Bindings/Copy\ of\ “Metrowerks\ Compatible”.pbxkeys 

and this works.  Of course I had set Xcode 3.0 to make a copy of its existing Metrowerks Compatible key bindings and set that to be the current set.

There were very few differences between the Xcode 2.5 and Xcode 3.0 Metrowerks Compatible.pbxkeys files (mostly related to key bindings for the debugger) and I couldn't find the difference that caused the bug.



On Mar 2, 2008, at 6:59 AM, Rick Mann wrote:


On Mar 1, 2008, at 6:36 PM, Chris Espinosa wrote:

This is a known bug in the Metrowerks-compatible key bindings shippedvwith Xcode 3. There's a stray Return character in the file that causes Return to become unassigned to any action and always be a literal return.

You can probably find thecstray 0x0D in a text or hex editor, and deleting it fixes the behavior.


I found the file, but examining it with HexFiend, I find no 0x0D in it at all. There are two <key></key> pairs that have a newline between them:

PBX_insertNewlineAndIndent:
insertNewlineIgnoringFieldEditor:

I removed the newline, but it had no effect.

I created a duplicate of the built-in MW bindings to check that file. No 0x0D there, either.




-- 
Brian Stern
email@hidden



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

This email sent to email@hidden

  • Follow-Ups:
    • Re: In all UI fields, return enters new line (rather than clicking OK)
      • From: Rick Mann <email@hidden>
References: 
 >In all UI fields, return enters new line (rather than clicking OK) (From: Rick Mann <email@hidden>)
 >Re: In all UI fields, return enters new line (rather than clicking OK) (From: Chris Espinosa <email@hidden>)
 >Re: In all UI fields, return enters new line (rather than clicking OK) (From: Rick Mann <email@hidden>)

  • Prev by Date: How do I remove a -L directory from the Build phase?
  • Next by Date: Static-linking a framework?
  • Previous by thread: Re: In all UI fields, return enters new line (rather than clicking OK)
  • Next by thread: Re: In all UI fields, return enters new line (rather than clicking OK)
  • Index(es):
    • Date
    • Thread