Hello There would be some problem with file locking. After any file change OneDrive lock the file and for the time of synchronization PSPad can't access it. Maybe PSPad 5 has softer file lock than previous version, caused by new Delphi version.
Run program settings / Direct edit button Change: DontChangeFileAttribute=1 SafeFileSave=1 -- <https://forum.pspad.com/read.php?2,73331,73332> PSPad freeware editor https://www.pspad.com
