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

List:       koffice-devel
Subject:    Re: Updating styles in kwtextframeset
From:       David Faure <david () mandrakesoft ! com>
Date:       2001-05-26 9:38:08
[Download RAW message or body]

On Thursday 24 May 2001 21:57, Thomas Zander wrote:
> Second, the undo info saved is saved per paragraph. The undo info that is NOT
> saved is the changes made to the style itself. So pressing undo changes the
> text back to what it was, but the style is not changed back.

For the record, this is slightly incorrect. The changes done to each paragraph
are _not_ stored as undo/redo commands at all (if you thought they were
due to the undo/redo stuff in applyStyle(), note that cursor==0L when it is
called by applyStyleChange(), so no undo/redo is stored at all).
So that's fine, all we need is to create commands for the changes done in the
stylist. Tell me if you plan to do that, otherwise I will.

-- 
David FAURE, david@mandrakesoft.com, faure@kde.org
http://perso.mandrakesoft.com/~david/, http://www.konqueror.org/
KDE, Making The Future of Computing Available Today

_______________________________________________
Koffice-devel mailing list
Koffice-devel@master.kde.org
http://master.kde.org/mailman/listinfo/koffice-devel

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

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