Hacker News new | past | comments | ask | show | jobs | submit login

I hate that too, and it seems to be a very common default behaviour of text selection. Even Vim does it when you copy a whole line.

It's one of those little UI annoyances that refuse to disappear. Just like blinking cursors in unfocused input fields & windows.




I think that’s because, if you follow selection of a full line by a backspace/delete/cut, you expect the new line to disappear.

Apart from undo state, you also want cut to be equivalent to copy; backspace.


It probably ties into the whole “line ending not newline” philosophy of requiring files to end with an EOL character.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: