From ktexteditor-devel Fri Sep 23 12:51:04 2005 From: Dominik Haumann Date: Fri, 23 Sep 2005 12:51:04 +0000 To: ktexteditor-devel Subject: Re: My Interfaces changes planed for KDE 4.0 Message-Id: <200509231451.04746.dhdev () gmx ! de> X-MARC-Message: https://marc.info/?l=ktexteditor-devel&m=112747988328867 On Friday 23 September 2005 14:09, Joseph Wenninger wrote: > Am Freitag, 23. September 2005 14:05 schrieb Andras Mantia: > [SNIP] > > > Well, what I imagine that we need is: > > - mark a state > > - do something > > - in case the user wants, roll back to that state. > > What about: > > doc->startEditing(); > do something usefull here (tm) > doc->endEditing(); > invoke the undo kde stdaction on any document's view Ah, I didn't see that :) If that works and it's the way to go it has to go into the docs ;) A doc->un/redo() would be easier though, especially because there already are editStart/editEnd. Default impl. could just do nothing. -- Dominik _______________________________________________ Ktexteditor-devel mailing list Ktexteditor-devel@kde.org https://mail.kde.org/mailman/listinfo/ktexteditor-devel