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