
13 Nov
2007
13 Nov
'07
7:03 p.m.
On Tue, 13 Nov 2007 09:09:00 -0000, MenTaLguY <mental@...3...> wrote:
I, too, find the idea of a special flag objectionable. But the undo list is directly pertinent to "has the tree changed?". If we want to eliminate the flag, the simplest thing to do is to check whether the current entry in the undo history was also current at the time the document was last saved. This is less expensive than computing a hash, and does not require establishing a particular normalized serialization of the document.
Fair enough.
TW