[prev in list] [next in list] [prev in thread] [next in thread] 

List:       ktexteditor-devel
Subject:    Re: My Interfaces changes planed for KDE 4.0
From:       Dominik Haumann <dhdev () gmx ! de>
Date:       2005-09-23 12:51:04
Message-ID: 200509231451.04746.dhdev () gmx ! de
[Download RAW message or body]

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

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic