Fixed an issue in the FindFileDialog class replacing text. 5_0_x

Sun, 03 Oct 2010 19:00:34 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Sun, 03 Oct 2010 19:00:34 +0200
branch
5_0_x
changeset 655
dc94820813ca
parent 652
ea67a963d7f6
child 662
4ccc45adc19d

Fixed an issue in the FindFileDialog class replacing text.

UI/FindFileDialog.py file | annotate | diff | comparison | revisions
--- a/UI/FindFileDialog.py	Sun Oct 03 18:11:13 2010 +0200
+++ b/UI/FindFileDialog.py	Sun Oct 03 19:00:34 2010 +0200
@@ -571,7 +571,7 @@
                         lines[line - 1] = rline
                 
                 # write the file
-                txt = Utilities.linesep().join(lines)
+                txt = Utilities.linesep().join(lines) + Utilities.linesep()
                 try:
                     Utilities.writeEncodedFile(fn, txt, encoding)
                 except (IOError, Utilities.CodingError, UnicodeError) as err:

eric ide

mercurial