--- gtktext.h.orig Tue Apr 21 15:42:49 1998 +++ gtktext.h Thu Apr 30 00:11:42 1998 @@ -150,6 +150,13 @@ gint timer; guint button; /* currently pressed mouse button */ + + /* Information about the last change made */ + gchar *last_change_info; + gint last_change_type; + gint last_change_length; + gint last_change_location; + gboolean collect_info; }; struct _GtkTextClass @@ -184,6 +191,16 @@ guint nchars); gint gtk_text_forward_delete (GtkText *text, guint nchars); +void gtk_text_set_cursor (GtkText *text, + guint position); +guint gtk_text_get_cursor (GtkText *text); +void gtk_text_collect_info (GtkText *text, + gboolean collect); +void gtk_text_get_info (GtkText *text, + gint *type, + gchar **info, + gint *length, + gint *location); #define GTK_TEXT_INDEX(t, index) \ ((index) < (t)->gap_position ? (t)->text[index] : \