We work both mostly on Linux, using a simple text editor.
Line endings in Linux consist only of LF characters, not CR/LF pairs
as on windows.
You should get a proper editor on Windows which understands this.
uedit is a good choice, but there are certainly also free ones.
Jules