Hi George,
I'll be fully satisfied with the highlighting rules for C - preprocessor (and hope others too).
You are correct. To make it work would require embedding some sort of C preprocessor.
But it is not as simple as just adding a simple C preprocessor.
The preprocessor would also need to understand things like include path environment variables.
It may also need to check environment variables for defines.
It would also need to be able to search and navigate include paths for include files.
It would have to manage nested includes.
In other words it is well on the way to becoming a compiler.
Add to this, the code would need to be fast enough to fire every time the user made an edit change to the file.
And if it got any one of these steps wrong it would highlight the code incorrectly, resulting in a bug report
As I said, show me a general purpose editor that implements such a feature and I will stand corrected and agree this is an easy feature to implement.
But I am not convinced this is a simple feature to implement.
Far from it, I think think this sounds like a very difficult feature to implement
Cheers Jussi