j7n Posted December 19, 2024 Posted December 19, 2024 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.
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now