<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
  </head>
  <body text="#000000" bgcolor="#ffffff">
    Sorry for reposting this message but i just realized i didn't
    include the "[PATCH]" prefix in the subject of my previous mail to
    this list, so the original text follows:<br>
    <br>
-------------------8<-------------------8<-------------------8<-------------------8<
    <meta http-equiv="content-type" content="text/html;
      charset=ISO-8859-1">
    <span class="Apple-style-span" style="border-collapse: separate;
      color: rgb(0, 0, 0); font-family: 'Droid Serif'; font-style:
      normal; font-variant: normal; font-weight: normal; letter-spacing:
      normal; line-height: normal; orphans: 2; text-indent: 0px;
      text-transform: none; white-space: normal; widows: 2;
      word-spacing: 0px; font-size: medium;">
      <pre>  Hello all,
     i already searched for this feature, in case someone else was 
already working on it or if it simply was a bad idea to implement.
For now, i haven't found anything nor something against it so i 
implemented this simple feature, that basically ensure no mixed line 
endings control characters (le-cc) will be saved in the document, patch 
is attached (i used the latest SVN head, 5089).
Let me explain the use case: i'm currently working on a project where 
some of the files contains mixed line endings control characters, ie., 
some lines end with just CR, other with just LF: there is an easy way to 
convert everyone of these control charaters to something else via 
"Document->Set line endings->Convert and set ..." but this isn't 
something i always manage to remember to do and, better, i would like 
the editor to take care of that for me.
So this patch add just that: in the "Preferences->Files->Saving files" 
dialog i added a  checkbox and, if checked, the editor will always 
convert any le-cc to the one currently actively on the document via 
sci_get_eol_mode(doc->editor->sci).
I also would like to propose a change in the way le-cc are presented to 
the user, but i'll do a new post eventually.

Regards,
Manuel</pre>
    </span>-------------------8<-------------------8<-------------------8<-------------------8<
    <meta http-equiv="content-type" content="text/html;
      charset=ISO-8859-1">
    <span class="Apple-style-span" style="border-collapse: separate;
      color: rgb(0, 0, 0); font-family: 'Droid Serif'; font-style:
      normal; font-variant: normal; font-weight: normal; letter-spacing:
      normal; line-height: normal; orphans: 2; text-indent: 0px;
      text-transform: none; white-space: normal; widows: 2;
      word-spacing: 0px; font-size: medium;">
      <pre></pre>
    </span>
  </body>
</html>