[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.newcomer] unwanted line delimiters inserted in files using (pydev)

hi,
I'm using Eclipse 3.1.2 with Pydev Extensions 1.0.5 on
two winXP computers: one in the office and one at home
- when I work there. Transfering one source code file
from one computer to the other leads to completely
corrupted files (textfile encoding: cp1252, new text
line delimiter: unix on both), i.e. I got a lot of
unwanted end of lines inserted so that I can't use that
file anymore.

Here an example:
def objectMoved(self):
objMoved= "This object may be found <a
HREF=\"http://www.immostreet.ch/default.asp\"";

In the original the last string was on ONE line.

I noticed that for some reason the editor inserts a CR
(0x 0D) and a LF (0x0A) character (checked that with
ultra edit 32) in between there. The first occurence of
this problem can be seen between line 4 and 5 of the
file (after). I'm attaching both of the files (they may
vary little in contents as developing is still going
on, but the problem can be observed independently from
that).

At home I upgraded to the latest version of Eclipse (3.2)
and Pydev (1.2.2) but the problem persists. I also tried to
convert the delimiters from the menu (file - convert line
delimiter to Unix/Windows but this didn't help or change
anything.

has somebody any suggestions?

cheers,
cheers