Page 1 of 1

Option to preserve line separator

Posted: Fri Sep 01, 2006 6:17 pm
by dsewell
Under Preferences / Global:

Below "Line separator", could there be a checkbox option like "Detect line separator on open"? So when the box is checked, when oXygen saves the file it will use the existing line separator rather than the default one used for a new file.

This would be helpful when one is editing a file created by someone else that is versioned under Subversion, because when the line separators are changed Subversion considers the file entirely different.

Posted: Mon Sep 04, 2006 11:48 am
by sorin_ristache
Hello,

We will allow the option of detecting and preserving the current separator in a file when it is opened. In your case I think it is more appropriate to set the svn:mime-type property of the file as plain text (that is svn:mime-type=text/plain set on a file or folder) or the more specific svn:eol-style property (svn:eol-style=native) when it is added to the SVN repository and let the SVN client handle the correct EOL character for your platform when you perform diff, updates and commits.

Regards,
Sorin