Jump to content

Odd behavior of Seven Notepad


Recommended Posts

Posted

I discovered an unexpected behavior of the Windows NT 6.1 Notepad.

I make a text file with long lines and enable word wrap to constrain it to the window width. The window can be dragged to different widths and text reflows normally. Next I save this file. At this point the Notepad window has newline symbols inserted at the word wrap points. If I were to select and copy the text, and paste it into another window, there would be hard line breaks in the text. The saved file does not have those newlines. If I drag the Notepad window wider, the text in it doesn't expand. When I save it again, it does expand to the current window width and a new set of ghost newlines are inserted.

The line breaks in the pasted text are usually unwanted. I guess it could be used to create a text of some width by temporarily utilizing Notepad. Some programs paste the ghost line breaks as double.


Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...