Il giorno dom, 03/08/2008 alle 23.16 +0200, Olivier Sessink ha scritto:
> Hi all,
>
> is it possible to use the internal gtksourceview undo/redo code and
> group multiple changes into a single undo action? gedit seems to do this
> with gtksourceview, but I can't see anything related in the API ?
>
You just need to use:
gtk_text_buffer_begin_user_action();
do_a_thing();
do_another_thing();
gtk_text_buffer_begin_user_action();
ciao
Paolo
> regards,
>
> Olivier
>
>
>
>
> _______________________________________________
> gnome-devtools mailing list
> [email protected]
> http://mail.gnome.org/mailman/listinfo/gnome-devtools
>
_______________________________________________
gnome-devtools mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/gnome-devtools