Forum Discussion

mromanek's avatar
mromanek
Copper Contributor
Dec 11, 2023

Copy paste of line break before text doesn't work in Win 11 notepad

Hello,

I saw the Windows 11 Notepad devlog about changes to line breaks 
https://devblogs.microsoft.com/math-in-office/windows-11-notepad/#plain-text-ui-improvements 
However even as the post mentions "Please feel free to comment about bugs and wishes!" it is closed, so I am posting here, hopefully it's the correct place to get some visibility.

It seems that this bug broke the copy and cut functionality of selecting a line before text. To show an example of what I mean, let's imagine this is the file I want to edit:


done:
task a

 

todo:
task b
task c
---


Now, I've finished task c, so I want to put it from the "todo" part to "done" part. The way I would do this is by clicking on the right side of "task c" line with mouse and dragging it upwards to the end of the above line, using Ctrl+X, then clicking right from "task a" and using Ctrl+V.
Back in old notepad or in pretty much any other text editor (such as this window I am writing in right now), it results in:


done:
task a
task c

todo:
task b
---


However, in the current notepad, the result is:

done:
task atask c

todo:
task b

---


I've found a workaround of always selecting the text from the other direction instead (start with mouse at the end of previous row and drag down to select the full row), but it seems like an important QoL oversight that should be fixed.

Resources