I am still investigating it. It started with Delphi 10.3 version. I use shared highlighters, it means all files of same type, e.g. PHP uses one shared hihglighter object. I will rewrite it and create for each file individual highlighter. It will be lot of work - color handlings, multihighlighter is several highlighters joined into one. So please be patient, I don't give it up.
-- <https://forum.pspad.com/read.php?2,75694,76110> PSPad freeware editor https://www.pspad.com