From koffice-devel Sat Dec 17 13:58:57 2005 From: Tomas Mecir Date: Sat, 17 Dec 2005 13:58:57 +0000 To: koffice-devel Subject: Re: kspread: non-contiguous selection Message-Id: <492258b10512170558p65b4a7d5v1d6d7da31fe6abef () mail ! gmail ! com> X-MARC-Message: https://marc.info/?l=koffice-devel&m=113484304121640 On 12/17/05, Stefan Nikolaus wrote: > Hmm, I've meant KMacroCommand, which collects KCommand - or derivatives - and > executes/unexecutes them at once. Ah, that one. Yeah. > One FormatManipulator? Than you see only "Change Format" in the undo list. Can't you somehow override the name that's given in the undo list ? Like, it would have a set of methods, for the big tasks, as well as the small ones, and rename itself accordingly ? Or we could have multiple manipulators. Then we have some code duplication. But we could inherit the simple ones from the big one, as you suggest, or put some common functions as static methods in the big one ? Well, many options :) > Or you derive from it and change its name. Possible in this point. > This would avoid multiple iterations over the region, if you change more than > one property. Yeah, reducing iterations over regions would be a good thing :) > Hmm, I'll have to think further about this. Until now it seems to be fine. ;-) :D / Tomas _______________________________________________ koffice-devel mailing list koffice-devel@kde.org https://mail.kde.org/mailman/listinfo/koffice-devel