
On Tue, 13 Nov 2007 17:32:35 +0100, Maximilian Albert <Anhalter42@...173...> wrote:
So do people have a complete overview of what sodipodi:modified is needed for?
It's just a flag indicating whether the document has been modified since it was last saved. It could adequately be a C++ field in SPDocument, with a signal added for those things which want to track it.
Would it be very hard/tedious to eliminate? (I can imagine it would...)
Not hard. A little tedious, perhaps.
What other "things" are you referring to?
Just search the tree for the uses of sp_document_set_undo_sensitive.
The one that comes to mind most immediately is its use to elide id "fixups" for conflicting IDs from the undo record, though I reworked that code some time ago and might have been able to eliminate the elision (I forget offhand). That's probably the hardest one to fix if it's still in the tree; most of the rest were more trivial.
-mental