Hello!
A user may occasionaly assign content of a previously edited file into
a next file opened in the same Query window, by calling Undo and Save.
Simple non-MDI text editors (for example, notepad.exe) prevent an
issue by clearing undo/redo history, so should we do.
Please see the attached patch.
--
Best regards,
J.F.