[IDE/XML] Bug 20468 - XML Format document removes all undo history