I just tried this:
gtk_text_buffer_insert_at_cursor(buffer, "\n\n\n\n", 4);
and works fine here (gtk 2.4.10).
What call are you using?
Felix Kater wrote:
Hi,
how do I insert a new line after I inserted text into a GtkTextBuffer?
I am using gtk 2.4 (with win32/mingw) and got gtk errors when I tried to
insert "\n" into the text (this fist approach is probably completely
wrong, I suppose ...).
I read that there are bugs in gtk -- could not find anything adequate in
bugzilla.gnome.org.
Felix
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list