Solution:
Save the document and then re-open it in Notepad.
Explanation:
The carriage return (CR) and line feed (LF) are created with a new line in Windows text files, and both characters are needed to make text files compatible with old dot-matrix printers that had to be told to feed the paper. The CRLF has created all kinds of problems because sometimes these two invisible characters get unjoined.
Since XP, Notepad sometimes adds an extra CR when the editor is in wordwrap mode and the document is saved; wherever the line wraps, a CR is put in. This creates a new line in the editor, which you can see when you change the client's size or edit existing lines. However, this problem is only visual, and the document is not saved with the extra CR.
To solve the problem, simply save the document then re-open it in Notepad and it should look fine.
One last note: this is not merely a painting problem but a problem with the text in the buffer, so copying the text to another editor does not solve the problem.
1That is not the default behavior. Try to disable word wrap, then re-enable it. What if you change the size of the window after you type it up, do more line breaks appear? – Raystafarian – 2013-07-30T00:27:08.067
Actually when I resize more lines do appear which I never seen before. I will try disabling and reenabling. – Joan Venge – 2013-07-30T00:28:55.267