When I use regular template then it is highlighted as expected when I click on "Instance variable not read and written"  However if I use slot template (System Settings > Code Browsing > Class Template With Slots), then the highlight is wrong. 