This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

uVision3 Editor Configuration

uVision3 Editor Configuration
Is there a way of highlighting the text content within
a preprocessor directive block depending on it's condition value?

Example:

#if 0
   i = i + 1; // line should appear 'red' in editor
#endif

or

#if 1
   i = i - 1; // line to appear 'green' in editor
#endif

Thanks,
Peter

0