In a project we may have a CSS file which was originally created (and committed to our code repository) by a person using a Unix based operating system. So all lines in that file end with
Whenever a person on Windows with Adobe Dreamweaver edits that file, even if the edit is just a single character, the newlines of the whole file are converted to Windows style, which is
This is problematic because at the instant this happens a commit to the code repository will not be possible (will produce conflict) in case someone else (with a proper editor) has altered other parts of the file.
How can this be prevented? All text editors I know (Notepad++, TextPad, etc) respect the file format of a file. Can Dreamweaver do that as well?