Re: grouping multiple changes in a single undo/redo action
Paolo Borelli <[email protected]> Mon, 04 Aug 2008 00:38:26 +0200
| Newsgroups | gmane.comp.gnome.devtools |
|---|---|
| Message-ID | <1217803106.28642.5.camel@murdock> |
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 >