Yes, I noticed that the logic which calculates the difference can not be completely correct either because I got a dialog even when I didn't change anything. But I haven't looked to the logic so far. Maybe setting up a temporary preference store, like it is done for the syntax highlighting preview text, and calculating a diff is a solution to go.