Tuesday, May 14, 2019

interaction design - Why is the following space highlighted upon double-clicking text?



I'm referring to when you double-click on the middle of a word in any sort of text editing situation (Google Docs, filling out this question, AIM, etc.) and the word as well as the space between it and next word are highlighted. What is the design decision behind this?


Also, I'm not sure if this is even the correct SE site, I just figured this sort of fell under UX.



Answer



It's so that when you then hit delete you are left with a single space between the previous and next word and don't have to subsequently delete that as well.


Same when you want to copy or cut and paste it from one position to another - the space goes with it - but it's not great if you meant to copy the word outside the application and you really only want the standalone word...but - we can't read people's minds...


No comments:

Post a Comment

technique - How credible is wikipedia?

I understand that this question relates more to wikipedia than it does writing but... If I was going to use wikipedia for a source for a res...