• 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: Return key doesn't in Xcode editor
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Return key doesn't in Xcode editor


  • Subject: Re: Return key doesn't in Xcode editor
  • From: Benjohn <email@hidden>
  • Date: Tue, 2 Nov 2004 14:33:20 +0000

I've just done a bit more exploration of this effect. And found that the following isn't quite accurate:

The behaviour is similar to that observed if you edit a file using a different line ending from that which it is encoded with. However, I have tried changing the line ending encoding (Unix and Mac) without success, or any apparent change.

In fact, the line encoding does seem to matter. If I: create myself an empty file switch it to mac encoding (if it's not already), write a few lines of text (Mac Mac Mac Mac) switch to unix encoding write a few lines of text (Unix Unix Unix)

then staying in unix mode:
	cursor to the end of a mac line.
	press Retrun: everything is normal.

	cursor to the end of a unix line.
	press Return: nothing happens.
	press Return again: you get a return.
	type another key: another return is entered before the key.

Now undo the changes, switch to mac mode and run the above tests again. The result will be the same.

So, text written using unix line ending encoding is broken, regardless of the mode used to later edit it. Doing the same test with windows line endings also seem to be fine, so it's just Unix line endings that are broken.

:) Anyone know a work around - I suppose "Don't use Unix line endings because there's a bug in the editor"?

_______________________________________________
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: Return key doesn't in Xcode editor
      • From: Nick Zitzmann <email@hidden>
  • Prev by Date: Return key doesn't in Xcode editor
  • Next by Date: Re: Return key doesn't in Xcode editor
  • Previous by thread: Return key doesn't in Xcode editor
  • Next by thread: Re: Return key doesn't in Xcode editor
  • Index(es):
    • Date
    • Thread