Now I underdstand. This is separate problem. The right solution is: remove $ from keyword char correctly handle word selection when highlighting of variable is available.
-- <https://forum.pspad.com/read.php?2,72964,73167> PSPad freeware editor https://www.pspad.com
