Problems with syntax highlighting, define and sharedproject

Hi,
To reproduce the problem follow the steps shown in the video.
I attached project, video and screenshot.
Bug173.rar (1.0 MB)

Best regards,
Jose A.

Thanks, logged as bugs://71916

bugs://71916 got closed with status fixed.