This is a dangerous bug. It came with the last versions of pspad I think.
I have windows 7 64 / pspad 54.5.9 2503
It happens with large and empty files.
Unfortunately not reproduceable - it occurs only sometimes.
Right now I started PSPad, opened a php file with this content:
<?php
echo htmlentities("&");
?>
Then I did like this:
navigate to end of 2nd line, press enter,enter,enter,enter,
type "skgljsdlfjglsjdflgjsdlfgk"
enter,enter,enter,enter,enter,enter
type "afgnskdngknsdgn"
cursor up,cursor up,cursor up,cursor up,cursor up
and then hold down CTRL-z
The file loses the mark "edited" but the letter "s" remains.
--
<http://forum.pspad.com/read.php?4,64522,64522>
PSPad freeware editor http://www.pspad.com