Files with Windows newline (\r\n) are converted to \r during a copy and paste. The editor then has issues displaying the file correctly.