GNOME Bugzilla – Bug 309301
Add key bindings for selecting/deselecting all text in a text box and text area
Last modified: 2011-02-04 16:10:27 UTC
Ctrl+A currently selects all text in a text box; there is no key binding to deselect all text. Ctrl+A and Ctrl+/ currently select all text in a text area, and Ctrl+\ deselects all text. The same set of key bindings should be used to select/deselect all text in both controls. The following key bindings, which are also supported in a list and a tree to select and deselect all rows, should be available to select and deselect all text in a text box and text area: (a) Ctrl+A and Ctrl+/ should select all text. (b) Shift+Ctrl+A and Ctrl+\ should deselect all text. Ctrl+A is used in Windows to select all text in a text box and a text area; none of the other proposed key bindings are found in Windows. Other information:
I have added the C-/ and C-\ bindings to the entry now. I can't do the Shift-Ctrl bindings, since they conflict with the "hex unicode input" feature. We do want to move that away from consuming 16 Shift-Ctrl keybindings, and can revisit this bug then. 2005-08-30 Matthias Clasen <mclasen@redhat.com> * gtk/gtkentry.c (gtk_entry_class_init): Add key bindings to make C-/ select all and C-\ unselect all. (#309301, Kathy Fernandez)
2005-09-02 Matthias Clasen <mclasen@redhat.com> * gtk/gtkentry.c (gtk_entry_class_init): * gtk/gtktextview.c (gtk_text_view_class_init): Add bindings for Ctrl-Shift-A to unselect all. (#309301, Kathy Fernandes)