Re: XCode editor preferences
Re: XCode editor preferences
- Subject: Re: XCode editor preferences
- From: Jerry <email@hidden>
- Date: Fri, 26 Nov 2004 09:12:45 +0000
On 26 Nov 2004, at 05:16, David Dunham wrote:
Chris
> Even before you mentioned this, I was beginning to suspect that you
had mixed line endings. My guess is that some of your file has got
CRLF and some of it has got LF and that XCode is getting a bit
befuddled.
This is exactly correct, and it is in the underlying Cocoa text
classes, not in Xcode. It happens only with CR-LF files, and it can
be
demonstrated in TextEdit as well.
It's been fixed in Tiger so it should not appear in Xcode 2.0.
Too bad Xcode doesn't offer to fix the line endings, like the
CodeWarrior IDE does... (If the original poster has CodeWarrior, he
can use it to repair the file -- just open it and CodeWarrior will
offer its help.)
Unfortunately, I've forgotten which source file was showing the
inconsistent behaviour between consecutive lines, but opening all my
files in CW doesn't produce any offers to fix inconsistent line
endings. I can live with the behaviour with CR-LF files for now as long
as I know that it's been fixed in Tiger. Originally I thought that the
skipping of blank lines was a design 'feature' put there on purpose to
be annoying, but now I know it's a bug, I'm happy (ish).
Jerry
_______________________________________________
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