Commit 53d2169b authored by Matthias Clasen's avatar Matthias Clasen Committed by Matthias Clasen

cursor_pos is in characters, not bytes. (#153332, Owen Taylor)

2004-09-26  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkimcontext.c (gtk_im_context_get_preedit_string):
	cursor_pos is in characters, not bytes.  (#153332, Owen Taylor)
parent f47afed1
2004-09-26 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkimcontext.c (gtk_im_context_get_preedit_string):
cursor_pos is in characters, not bytes. (#153332, Owen Taylor)
2004-09-25 Robert Ögren <gtk@roboros.com>
* gdk/win32/gdkinput-win32.c (gdk_input_wintab_init): Set
lcSysOrgX and lcSysOrgY from device instead of hardcoding to 0,
a further fix for bug #145467.
2004-09-25 Matthias Clasen <mclasen@x1-6-00-50-fc-70-9f-e0>
2004-09-25 Matthias Clasen <mclasen@redhat.com>
* gtk/gtktextiter.c (inside_word_func): Don't access
attr[-1]. (#153628, Padraig O'Briain)
......
2004-09-26 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkimcontext.c (gtk_im_context_get_preedit_string):
cursor_pos is in characters, not bytes. (#153332, Owen Taylor)
2004-09-25 Robert Ögren <gtk@roboros.com>
* gdk/win32/gdkinput-win32.c (gdk_input_wintab_init): Set
lcSysOrgX and lcSysOrgY from device instead of hardcoding to 0,
a further fix for bug #145467.
2004-09-25 Matthias Clasen <mclasen@x1-6-00-50-fc-70-9f-e0>
2004-09-25 Matthias Clasen <mclasen@redhat.com>
* gtk/gtktextiter.c (inside_word_func): Don't access
attr[-1]. (#153628, Padraig O'Briain)
......
2004-09-26 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkimcontext.c (gtk_im_context_get_preedit_string):
cursor_pos is in characters, not bytes. (#153332, Owen Taylor)
2004-09-25 Robert Ögren <gtk@roboros.com>
* gdk/win32/gdkinput-win32.c (gdk_input_wintab_init): Set
lcSysOrgX and lcSysOrgY from device instead of hardcoding to 0,
a further fix for bug #145467.
2004-09-25 Matthias Clasen <mclasen@x1-6-00-50-fc-70-9f-e0>
2004-09-25 Matthias Clasen <mclasen@redhat.com>
* gtk/gtktextiter.c (inside_word_func): Don't access
attr[-1]. (#153628, Padraig O'Briain)
......
2004-09-26 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkimcontext.c (gtk_im_context_get_preedit_string):
cursor_pos is in characters, not bytes. (#153332, Owen Taylor)
2004-09-25 Robert Ögren <gtk@roboros.com>
* gdk/win32/gdkinput-win32.c (gdk_input_wintab_init): Set
lcSysOrgX and lcSysOrgY from device instead of hardcoding to 0,
a further fix for bug #145467.
2004-09-25 Matthias Clasen <mclasen@x1-6-00-50-fc-70-9f-e0>
2004-09-25 Matthias Clasen <mclasen@redhat.com>
* gtk/gtktextiter.c (inside_word_func): Don't access
attr[-1]. (#153628, Padraig O'Briain)
......
......@@ -269,7 +269,7 @@ gtk_im_context_set_client_window (GtkIMContext *context,
* @attrs: location to store the retrieved attribute list.
* When you are done with this list, you must
* unreference it with pango_attr_list_unref().
* @cursor_pos: location to store position of cursor (in bytes)
* @cursor_pos: location to store position of cursor (in characters)
* within the preedit string.
*
* Retrieve the current preedit string for the input context,
......@@ -522,7 +522,7 @@ gtk_im_context_get_surrounding (GtkIMContext *context,
* Asks the widget that the input context is attached to to delete
* characters around the cursor position by emitting the
* GtkIMContext::delete_surrounding signal. Note that @offset and @n_chars
* are in characters not in bytes, which differs from the usage other
* are in characters not in bytes which differs from the usage other
* places in #GtkIMContext.
*
* In order to use this function, you should first call
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment