Now this has happened to me twice this week alone: when I press Ctrl+Z a number of times in RAD Studio 2009, the editor buffer gets corrupted. The current and nearby lines get filled with nonsense data, and sometimes a breakpoint is created (autobugically). And there is a EAccessViolation
in the IDE, which then terminates. All unsaved code is inevitably lost.
Is there a cure?
The IDEFixPack for Delphi 2009 addresses the undo editor buffer corruption bug (and some other bugs). This bug was fixed in Delphi 2010 Update 2.