Re: Undo stack for GTK+ (was: Re: undo in textview)

2010-01-02 Thread Holger Berndt
On Do, 31.12.2009 14:43, Tristan Van Berkom wrote: >Right, I'm not sure what you have intrerpreted by nesting commands, >seems to me you mean, "including a group of commands as a command >in a new group of commands", thats *not* what I had interpreted as >"nested commands", True. The notation in

Re: Undo stack for GTK+ (was: Re: undo in textview)

2009-12-31 Thread Paul Davis
On Wed, Dec 30, 2009 at 6:32 PM, Tristan Van Berkom wrote: > Particularly point 5, nested transactions; I banged my head around that one > for a while and finally did not implement this; my interpretation of > nested transactions > was something like this: >  o User initiates action >  o action g

Re: Undo stack for GTK+ (was: Re: undo in textview)

2009-12-31 Thread Tristan Van Berkom
On Wed, Dec 30, 2009 at 10:55 PM, Holger Berndt wrote: > On Mi, 30.12.2009 21:32, Tristan Van Berkom wrote: > >>Particularly point 5, nested transactions; I banged my head around that one >>for a while and finally did not implement this; my interpretation of >>nested transactions >>was something l

Re: Undo stack for GTK+ (was: Re: undo in textview)

2009-12-30 Thread Holger Berndt
On Mi, 30.12.2009 21:32, Tristan Van Berkom wrote: >Particularly point 5, nested transactions; I banged my head around that one >for a while and finally did not implement this; my interpretation of >nested transactions >was something like this: > o User initiates action > o action goes and modif

Re: Undo stack for GTK+ (was: Re: undo in textview)

2009-12-30 Thread Tristan Van Berkom
On Wed, Dec 30, 2009 at 12:48 AM, Paul Davis wrote: > On Mon, Dec 28, 2009 at 12:02 PM, Holger Berndt wrote: >> Cross-posting to move the discussion to gtk-devel-list. Anybody interested >> in the topic, please follow up there. >> >> On Do, 24.09.2009 19:23, A. Walton wrote: >> >>>It's definitely

Re: Undo stack for GTK+ (was: Re: undo in textview)

2009-12-30 Thread Holger Berndt
Hi Ross, >I'll have a look at your code later when I'm not feeling really rough, >but have you seen the undo classes in Marlin and Tasks? No, in fact I hadn't. Interesting to see different implementations popping up.. > koto-undo-action.c. Providing suitable GtkAction's for undo and redo with t

Re: Undo stack for GTK+ (was: Re: undo in textview)

2009-12-30 Thread Ross Burton
On Mon, 2009-12-28 at 18:02 +0100, Holger Berndt wrote: > Cross-posting to move the discussion to gtk-devel-list. Anybody interested > in the topic, please follow up there. > > On Do, 24.09.2009 19:23, A. Walton wrote: > > >It's definitely something many developers would love to see in Gtk+, > >b

Re: Undo stack for GTK+ (was: Re: undo in textview)

2009-12-30 Thread Holger Berndt
Hi Paul, thanks for your remarks! On Di, 29.12.2009 21:48, Paul Davis wrote: >It was designed after looking at undo models in various other >applications, and finding them all to have various problems for what >we really needed (this included the GIMP). This seems to be a common scenario. Let'

Re: Undo stack for GTK+ (was: Re: undo in textview)

2009-12-29 Thread Paul Davis
On Mon, Dec 28, 2009 at 12:02 PM, Holger Berndt wrote: > Cross-posting to move the discussion to gtk-devel-list. Anybody interested > in the topic, please follow up there. > > On Do, 24.09.2009 19:23, A. Walton wrote: > >>It's definitely something many developers would love to see in Gtk+, >>but o

Undo stack for GTK+ (was: Re: undo in textview)

2009-12-28 Thread Holger Berndt
Cross-posting to move the discussion to gtk-devel-list. Anybody interested in the topic, please follow up there. On Do, 24.09.2009 19:23, A. Walton wrote: >It's definitely something many developers would love to see in Gtk+, >but only a few have stepped up to the bat with patches and actually >di