Not signed in (Sign In)

Categories

Vanilla 1.1.1 is a product of Lussumo. More Information: Documentation, Community Support.

    • CommentAuthornovo
    • CommentTimeFeb 4th 2007
     permalink
    I've noticed, that when I use guarding macros in C++ headers, all the code that's inside(in most cases, the whole header) is not highlighted correctly. Here two example screenshots. First one is without macros, and everything looks fine, but on the second one, only few keywords are highlighted properly.

    Screen1: http://img153.imageshack.us/img153/7397/intypescreen1hk0.jpg
    Screen2: http://img48.imageshack.us/img48/5099/intypescreen2nw5.jpg
    (Screens are in 1600x1200 since that's my desktop resolution, and scaling could make it less readable)
    • CommentAuthori
    • CommentTimeFeb 4th 2007
     permalink

    It’s probably coz the preprocessor capture regexes are not good enough. On first glance it seems like the capturing of the first line’s scope didn’t end at the end of the line. So maybe a problem with the scope’s ending regex.

    I’ll look into it when I’m have more than half an hour of free time.