Morten: do you feed the scintilla with the correct list of defines for the edited file?
If not please disable this feature for now, because it is useless...
Also, what happens if I open file that is not part of a project or it is part of a Makefile project?
I think both should have this automatically disabled...
Another thing: does scintilla open include files? What will happen if I've got:
// a.h
#define A_TEST
// a.cpp
#include "a.h"
#ifdef A_TEST
.... code1 ....
#else
.... code2 ....
#endif
Which of the two will be highlighted and which won't?