@jan: I don't know which language PSPad is written in, but if it's possible please try to use _address sanitizer_ (ASAN) to check for memory issues. This bug is annoying me now several times a day and it's a PITA.
If I can help you just tell me what you need. -- <https://forum.pspad.com/read.php?4,73692,73964> PSPad freeware editor https://www.pspad.com
