Currently, when clicking into a TextField for the first time, the entire text is selected. Then clicking again a single time, the cursor is placed in between two characters. Double-clicking will then select the whole word (or if separated by underscores for example).
I believe this behaviour should be slightly changed to align with other text editors such as Microsoft Word, Notepad, Visual Studio or Rider.
When triple-clicking, the entire text should be selected.
Because currently there is no way to select the entire text via the mouse other than clicking out of the text field and back into it, which is unintuitive if other software does this differently.
It’s still arguable what the very first click should do. In other editors, it would directly place the text cursor, but I also see a use-case for selecting the entire text on the first click.
Thanks for listening to my opinion, but feel free to vote me out.
I would say that giving the option to users when creating TextField. You can specify different click behaviour default (current behaviour), text editor (single: puts cursor, double: selects word, triple: select all) and custom, define own behaviour for single, double and triple
I guess options are always a fair thing, but I want to stress the argument that TextField should follow standards. These might be different for other users, but for me they are pretty clear. Unity may have a greater reach to identify what the most common behavior is.