Option to preserve line separator

Are you missing a feature? Request its implementation here.
dsewell
Posts: 125
Joined: Mon Jun 09, 2003 6:02 pm
Location: Charlottesville, Virginia USA

Option to preserve line separator

Post 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.
sorin_ristache
Posts: 4141
Joined: Fri Mar 28, 2003 2:12 pm

Post 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
Post Reply