After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 309301 - Add key bindings for selecting/deselecting all text in a text box and text area
Add key bindings for selecting/deselecting all text in a text box and text area
Status: RESOLVED FIXED
Product: gtk+
Classification: Platform
Component: Widget: GtkTextView
2.6.x
Other All
: Normal minor
: ---
Assigned To: gtk-bugs
gtk-bugs
Depends on: 82011
Blocks:
 
 
Reported: 2005-07-01 16:43 UTC by Kathy Fernandes
Modified: 2011-02-04 16:10 UTC
See Also:
GNOME target: ---
GNOME version: 2.7/2.8



Description Kathy Fernandes 2005-07-01 16:43:19 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:
Comment 1 Matthias Clasen 2005-08-30 18:44:45 UTC
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)
Comment 2 Matthias Clasen 2005-09-02 18:23:15 UTC
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)