Home » Questions » Computers [ Ask a new question ]

Why does Windows Vista's Notepad randomly move the cursor after saving a file?

Why does Windows Vista's Notepad randomly move the cursor after saving a file?

What is happening:

Asked by: Guest | Views: 106
Total answers/comments: 2
Guest [Entry]

"I noticed this problem in Windows XP Notepad. It only happens if word wrap is on when you save. The amount the cursor moves back is related to the number of new wrap points before the cursor since the last save. The more new wrap points before the cursor, the further the cursor moves back.

Why does the cursor move? When you save with word wrap on, Notepad inserts CR CR LF characters at each wrap point in the display window (but not in the saved file). The number of characters from the beginning of the display window to the cursor stays the same, but because of the extra CR CR LF characters, the cursor appears to move backward.

For more information and a step-by-step example, see Notepad bug: Saving with word wrap on inserts CR CR LF characters in the display window."
Guest [Entry]

"(Can't post as a comment because I don't have enough reputation.)

According to this site, it was fixed by at least Windows 10 version 1511 (November 2015).

According to this site, the bug existed in Windows 10 on October 18 2015.

If we're going by major versions of Windows 10, the initial release was 1507, then the next major version was 1511. So by deduction, version 1511 was the first major update that had this bug fixed."