aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/text/e-text.h
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2007-08-24 04:31:16 +0800
committerMatthew Barnes <mbarnes@src.gnome.org>2007-08-24 04:31:16 +0800
commited6d71b37f7102db9f35a3c742350de83cefe2e8 (patch)
tree39a82c72eb272eedb9aaff96a00035de2b0db90a /widgets/text/e-text.h
parent97bd5a69718feac9d233b2758556a86cee9b1fec (diff)
downloadgsoc2013-evolution-ed6d71b37f7102db9f35a3c742350de83cefe2e8.tar.gz
gsoc2013-evolution-ed6d71b37f7102db9f35a3c742350de83cefe2e8.tar.zst
gsoc2013-evolution-ed6d71b37f7102db9f35a3c742350de83cefe2e8.zip
** Fixes bug #303878
2007-08-23 Matthew Barnes <mbarnes@redhat.com> ** Fixes bug #303878 * widgets/text/e-text.h: preedit_pos: new value. * widgets/text/e-text.c: (e_text_get_cursor_locations): New function. Get the cursor locations. (update_im_cursor_position): New function. Set the cursor location to IMContext. (insert_preedit_text): Call update_im_cursor_position when draw preedit text. (e_text_preedit_changed_cb): Set the preedit cursor position to preedit_pos. Patch by Hiroyuki Ikezoe and makuchaku. svn path=/trunk/; revision=34081
Diffstat (limited to 'widgets/text/e-text.h')
-rw-r--r--widgets/text/e-text.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/widgets/text/e-text.h b/widgets/text/e-text.h
index 4d2e4abcf0..174b9e328d 100644
--- a/widgets/text/e-text.h
+++ b/widgets/text/e-text.h
@@ -109,6 +109,7 @@ struct _EText {
const gchar *text; /* Text to display --- from the ETextModel */
gint preedit_len; /* preedit length to display */
+ gint preedit_pos; /* preedit cursor position */
PangoLayout *layout;
int num_lines; /* Number of lines of text */