Hi, Still not sure about it, but try this to confirm me Select a key word, press enter, (the second unit in uses for example), now press undo (ctrl+z), and see if it corrupted. -- I am using last revision of Lazarus, FPC 2.6 on Windows XP SP3 Best Regards Zaher Dirkey