Yes, that's also my experience: The problem is not related to editing in any way. If the problem occurs it appears right after openening a file without doing anything else. And it doesn't seem to be related to specific file types. I've seen it with C/C++, Java, Perl and Python. But it seems to appear in my case always at the end of code blocks.
-- <https://forum.pspad.com/read.php?4,76932,78812> PSPad freeware editor https://www.pspad.com