aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/e-text.h
diff options
context:
space:
mode:
authorChris Lahey <clahey@src.gnome.org>2000-01-14 13:18:59 +0800
committerChris Lahey <clahey@src.gnome.org>2000-01-14 13:18:59 +0800
commit4ac908c6ffa505ae3978eec809bf50fc7cb88e90 (patch)
treeec44e0269b86ab31e5b3c0a4aa5e10d591fb0d7c /widgets/e-text.h
parentf21a1a70bdcdf055e889a3ab736d76153ca2f760 (diff)
downloadgsoc2013-evolution-4ac908c6ffa505ae3978eec809bf50fc7cb88e90.tar
gsoc2013-evolution-4ac908c6ffa505ae3978eec809bf50fc7cb88e90.tar.gz
gsoc2013-evolution-4ac908c6ffa505ae3978eec809bf50fc7cb88e90.tar.bz2
gsoc2013-evolution-4ac908c6ffa505ae3978eec809bf50fc7cb88e90.tar.lz
gsoc2013-evolution-4ac908c6ffa505ae3978eec809bf50fc7cb88e90.tar.xz
gsoc2013-evolution-4ac908c6ffa505ae3978eec809bf50fc7cb88e90.tar.zst
gsoc2013-evolution-4ac908c6ffa505ae3978eec809bf50fc7cb88e90.zip
Added selection and clipboard support. Added up and down arrow keys. Fixed
* widgets/e-text-event-processor-types.h, widgets/e-text-event-processor-emacs-like.c, widgets/e-text.c, widgets/e-text.h: Added selection and clipboard support. Added up and down arrow keys. Fixed choice of font colors for the selection to be based on the current style. * widgets/e-minicard.c: Caused a click to grab the focus. Changed the fake information added. * widgets/e-minicard-label.c: Forward mouse events to the field EText item. svn path=/trunk/; revision=1568
Diffstat (limited to 'widgets/e-text.h')
-rw-r--r--widgets/e-text.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/widgets/e-text.h b/widgets/e-text.h
index de7d28fd72..11a7a42375 100644
--- a/widgets/e-text.h
+++ b/widgets/e-text.h
@@ -161,7 +161,12 @@ struct _EText {
ETextEventProcessor *tep; /* Text Event Processor */
- GtkWidget *invisible; /* For selection handling. */
+ GtkWidget *invisible; /* For selection handling */
+ gboolean has_selection; /* TRUE if we have the selection */
+ gchar *primary_selection; /* Primary selection text */
+ gint primary_length; /* Primary selection text length */
+ gchar *clipboard_selection; /* Clipboard selection text */
+ gint clipboard_length; /* Clipboard selection text length*/
};
struct _ETextClass {