This functionality is already there.
You can call is manually (Ctrl+J) or let PSPad call it after some delay -
Setting is in the program settingfs / Editor 2

-- 
<https://forum.pspad.com/read.php?2,73814,73816>
PSPad freeware editor https://www.pspad.com

Odpovedet emailem