Option to not select text when undoing a deletion?

Solution 1:

As @Tetsujin pointed out, it turns out this is a per-application behavior, not an OS behavior. The same happens in some programs on Windows, and some apps on Mac do not behave like this. Seems like nothing can be done about it.