> The "insert-text" signal :
> 
> void user_function(GtkTextBuffer * textbuffer, GtkTextIter 
> *arg1, gchar *arg2, gint arg3, gpointer user_data)
> 
> the arg1 is iter of next char, not the char insered.
> 

Ok, so why can't you get the GtkTextIter, copy it, and with the copy use 
gtk_text_iter_backward_char() to get the left hand side of the character just entered. 
 Then using these iterators, apply the tag?

If you want the text/character, you should be able to use gtk_text_iter_get_text().


Regards,
Martyn
_______________________________________________
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list

Reply via email to