SF.net SVN: geany: [2252] trunk
eht16 at users.sourceforge.net
eht16 at xxxxx
Tue Feb 12 12:30:42 UTC 2008
Revision: 2252
http://geany.svn.sourceforge.net/geany/?rev=2252&view=rev
Author: eht16
Date: 2008-02-12 04:30:41 -0800 (Tue, 12 Feb 2008)
Log Message:
-----------
Don't force unique line ending characters when saving files to avoid unexpected saving behaviour.
Modified Paths:
--------------
trunk/ChangeLog
trunk/src/document.c
Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog 2008-02-12 12:04:55 UTC (rev 2251)
+++ trunk/ChangeLog 2008-02-12 12:30:41 UTC (rev 2252)
@@ -8,6 +8,8 @@
whithout a writable temporary directory and without a writable
configuration directory.
Improve filename of created symlink to the socket file.
+ * src/document.c: Don't force unique line ending characters when saving
+ files to avoid unexpected saving behaviour.
2008-02-11 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
Modified: trunk/src/document.c
===================================================================
--- trunk/src/document.c 2008-02-12 12:04:55 UTC (rev 2251)
+++ trunk/src/document.c 2008-02-12 12:30:41 UTC (rev 2252)
@@ -1196,8 +1196,6 @@
if (prefs.strip_trailing_spaces) document_strip_trailing_spaces(idx);
// ensure the file has a newline at the end
if (prefs.final_new_line) document_ensure_final_newline(idx);
- // ensure there are really the same EOL chars
- sci_convert_eols(doc_list[idx].sci, sci_get_eol_mode(doc_list[idx].sci));
len = sci_get_length(doc_list[idx].sci) + 1;
if (doc_list[idx].has_bom && encodings_is_unicode_charset(doc_list[idx].encoding))
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Commits
mailing list