I am using eclipse editor to work on my remote files it appears that eclipse editor is set to dos file format, I do not know how to find fileformat set in eclipse editor, bu
This can even be done more specific, just for a single project:
Change Project > Properties > Resource : New Tex File Delimiter