I improved Autocompletion, it should work ok with your examples I rolled back tabs/spaces behavior, it will need deeper investigation, it's base editor 3rd component.
-- <https://forum.pspad.com/read.php?6,74664,74684> PSPad freeware editor https://www.pspad.com