summaryrefslogtreecommitdiff
path: root/gtk/gtktextiter.h
diff options
context:
space:
mode:
authorHavoc Pennington <hp@pobox.com>2000-12-06 05:31:30 +0000
committerHavoc Pennington <hp@src.gnome.org>2000-12-06 05:31:30 +0000
commit36aac0177bfe4dfed46cfcf8568256fe5b05f9b0 (patch)
tree5091a09100b1743bf733d47dde7db34e9b673fc6 /gtk/gtktextiter.h
parent3bc53c742d676a974987ad084f8617a1ab6068fd (diff)
downloadgtk+-36aac0177bfe4dfed46cfcf8568256fe5b05f9b0.tar.gz
add gdkkeys.[hc]
2000-12-03 Havoc Pennington <hp@pobox.com> * gdk/Makefile.am: add gdkkeys.[hc] * gdk/gdkkeys.h, gdk/gdkkeys.c: Move all the keyval stuff to these files from gdk.h, gdk.c; add GdkKeymap type and operations on it. * acconfig.h, configure.in: add checks and command line options for XKB * gdk/x11/gdkkeys-x11.c: Implement the above functions * gdk/x11/gdkevents-x11.c (gdk_event_translate): Put the keycode and group in the key event * gdk/gdkevents.h (struct _GdkEventKey): Add a hardware_keycode field with the low-level hardware key code, and a group field with the keyboard group * gdk/x11/gdkprivate-x11.h: include config.h for HAVE_XKB, and declare a couple globals used for keymap handling * gtk/gtkimcontextsimple.c: Implement ISO 14755 input method, hold down Shift-Control and type a hex number to get a Unicode character corresponding to the hex number (gtk_im_context_simple_get_preedit_string): Fix cursor position (return bytes not chars)
Diffstat (limited to 'gtk/gtktextiter.h')
-rw-r--r--gtk/gtktextiter.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/gtk/gtktextiter.h b/gtk/gtktextiter.h
index 1c32fdaeb0..a2d4eacd6c 100644
--- a/gtk/gtktextiter.h
+++ b/gtk/gtktextiter.h
@@ -84,12 +84,13 @@ gint gtk_text_iter_get_line_index (const GtkTextIter *iter);
*/
gunichar gtk_text_iter_get_char (const GtkTextIter *iter);
-/* includes the 0xFFFD char for pixmaps/widgets, so char offsets
- into the returned string map properly into buffer char offsets */
+/* includes the 0xFFFC char for pixmaps/widgets, so char offsets
+ * into the returned string map properly into buffer char offsets
+ */
gchar *gtk_text_iter_get_slice (const GtkTextIter *start,
const GtkTextIter *end);
-/* includes only text, no 0xFFFD */
+/* includes only text, no 0xFFFC */
gchar *gtk_text_iter_get_text (const GtkTextIter *start,
const GtkTextIter *end);
/* exclude invisible chars */