I'v bug only in files with a UNIX end of line.
I also have files with windows CR LF, there isn't problem.

I changed the style of work - converting a UNIX file to WINDOWS version for
PSPad and after changing convert back.
No bug appears.

PSPad freeware editor https://www.pspad.com

Odpovedet emailem