Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I remember it wasn't doing this before but now when I am writing a few paragraphs and paste it into a forum post, I notice my lines were broken into new lines where I have to merge them manually.

Is there a way to prevent this behaviour? I just want to see my text visible within the size of my notepad without horizontal scrollbars, but not have the text modified according to this.

share|improve this question
That 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 Jul 30 '13 at 0:27
Actually when I resize more lines do appear which I never seen before. I will try disabling and reenabling. – Joan Venge Jul 30 '13 at 0:28
up vote 6 down vote accepted


Save the document and then re-open it in Notepad.


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.

share|improve this answer
The problem is not only visual, since as you said the extra line breaks are copied if you try to copy the text you typed in notepad into an online post or something. I cannot believe this bug has persisted since Windows XP, is still present in Windows 7... it's been there for like 15 years now. This bug needs an award, and Microsoft needs smacked. – Triynko Jan 23 '15 at 20:21
Still present in Windows 10 too. Never noticed it in Windows 7. – puslet88 Nov 22 '15 at 19:27

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .