Fix for bug #78499:

2003-03-29  Matthias Clasen  <maclas@gmx.de>

	Fix for bug #78499:

	* gtk/gtkentry.h (struct _GtkEntry): Add flags select_words and
	select_lines.

	* gtk/gtkentry.c (gtk_entry_button_press): Set select_words and
	select_lines on double/triple click.

	* gtk/gtkentry.c (gtk_entry_motion_notify): Implement
	select-by-words and select-by-lines behaviour.
This commit is contained in:
Matthias Clasen
2003-03-29 00:39:23 +00:00
committed by Matthias Clasen
parent bdd6e817d3
commit 490ebddc8c
7 changed files with 107 additions and 1 deletions

View File

@ -90,6 +90,8 @@ struct _GtkEntry
guint mouse_cursor_obscured : 1;
guint select_words : 1;
guint select_lines : 1;
guint button;
guint blink_timeout;
guint recompute_idle;