I work on a large cross-platform project for Mac and Windows. Every editor 
used on the Windows team treats UNIX and Windows style line endings as if 
it is simply a native carriage return. So if any mixed line endings end up 
in a file, it is completely transparent.

Xcode, TextMate and even TextEdit on the Mac do the same thing.

BBEdit on the other hand, looks at the first line of the file and assumes 
ALL other line endings in the file match that one. So, if you open a file 
with a UNIX line ending on the first line, any lines with Windows EOLs will 
end up with a second empty line after them and if the first line is Windows 
style, any UNIX lines will get mushed together into a single line.

The only way I see to fix this is to make the entire file conform to one or 
the other. This can be a real pain, especially if only the first few lines 
are different because it will mess up everything after that (I see no way 
to force bbedit to load one way or the other, it always chooses for me). It 
also results in excessive/unnecessary changes in revision control.

I understand there are times when you would want to be able to know there 
are differing line endings, but the current system makes life difficult for 
those of us who must cooperate with developers outside of the Mac world.

Is there a chance that we could have a preferences option to make BBEdit 
behave like every other developers editor on the market?
Is there already such an option that I just can't seem to find?

Thank you in advance for any suggestions.

-- 
-- 
You received this message because you are subscribed to the 
"BBEdit Talk" discussion group on Google Groups.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
<http://groups.google.com/group/bbedit?hl=en>
If you have a feature request or would like to report a problem, 
please email "[email protected]" rather than posting to the group.
Follow @bbedit on Twitter: <http://www.twitter.com/bbedit>



Reply via email to