TAdvMemo+TAdvPascalMemoStyler syntax highlighting issue for begin..end

The begin and end keywords are not properly highlighted or styled as expected.
Could you please look into this or suggest a workaround?
(TAdvPascalMemoStyler used with no changes)