2

I've noticed that when you select all (using ctrl+a, or some other method) you can only reduce the selection from the end. ie: by holding shift and pressing left you can reduce the selection from the end, but it does not work from the beginning (pressing right)

From a UX standpoint, wouldn't it be better if it worked both ways?

1 Answer 1

4

The reason is consistency.

I do not have official reference literature on this, however, I believe it is possible for us to come to a comfortable reasoning, regardless.

Let's walk through what we know from other user text-selection interactions in the same environment:

  • Any other selection you perform on a quantity of text places the cursor somewhere. The cursor is not ever placed ambiguously—it's always in a predictable location after every user interaction.

  • There is only ever one "caret" or "insertion point".

Thus, following the aforementioned established pattern, CTRL+A has to make a decision as to where the cursor shall be placed upon selection. Should the cursor be placed at the beginning of the selection, the end, or somewhere in the middle?

Let's just go ahead and agree that "somewhere in the middle" is not going to yield predictable results, and nix that option.

We're left with two options: the beginning or end.

Since the text being selected reads left to right, an assumption that most people select text with a cursor from left to right, and most active text editing happens at the end of a block of text, it seems like placing it at the end might be the best option.

1
  • Upvoted. Great job comparing the automatic select all to a manual version, which would involve a user moving their cursor from the left to the right, thus placing the caret at the end or right of the selected text.
    – Benjamin S
    May 21, 2020 at 13:29

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.