13 ms·
It's really natural! - make a bunch of edits - decide I don't like all of them - copy the part I want to keep - undo a bunch - paste the good part This is
by blt 2mo ago
It's really natural!
- make a bunch of edits
- decide I don't like all of them
- copy the part I want to keep
- undo a bunch
- paste the good part
This is copy, not cut, but it wouldn't work if the clipboard state was part of the undo system.
- Mogzol 2mo agoThe article isn't arguing that clipboard state should be part of the undo system, it is arguing that cut shouldn't touch clipboard state. In the "Side effects" section they mention if you want the contents to go to the clipboard, then you should use copy instead of cut.
- deleted 2mo ago[deleted]
- Dylan16807 2mo agoIf it doesn't change the state how do I cut and paste between programs? And is 'paste' now using the clipboard half the time but not the other half?
- Mogzol 2mo agoYes exactly, cut (and pasting a cut) is entirely within the same app. If you want to put something in another program you would have to copy. Not saying I would prefer it, just explaining what the article says.
- VerifiedReports 2mo agoExactly, you've nailed it.