One thing I've found useful when tracking down editor quirks is testing with a completely fresh configuration/profile. It can quickly tell you whether the issue is in the file itself or something in the current PSPad settings.
-- <https://forum.pspad.com/read.php?2,67283,79753> PSPad freeware editor https://www.pspad.com
