<p>This is feature enhacement issue to differentiate code segments written in C/C++, when they are turned off by preprocessing directive such as <code>#if</code>, <code>#ifdef</code>, <code>#ifndef</code>, etc. An example may look like:</p>

<pre><code>#if 0 /* code temporally turned off */
    int Values[] {1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11};
    size_t Counter = std::end(Values) - std::begin(Values);
    int n = 5; /* number of items per column to display */

    for (int k = 0; k < Counter; k++)
        cout << Values[k] << " " << (((k+1) % n) ? ' ' : '\n');
#endif
</code></pre>

<p>This feature is already supported by Vim, Visual C++, Clion and Gedit, Pluma, among others. thus I think it is worth to implement. I particularly like the VC++ 2015's behavior, which is to use the same colors as normal, but with lower contrast (i.e. they are faded).</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/geany/geany/issues/1047">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe/ABDrJ8OJ_jc7__Q0MzdB-NFO9LlS5pqMks5qGYa1gaJpZM4IpR6k">mute the thread</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/ABDrJ08jusibEA8daTM5yaTuYo8WR7Buks5qGYa1gaJpZM4IpR6k.gif" width="1" /></p>
<div itemscope itemtype="http://schema.org/EmailMessage">
<div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
  <link itemprop="url" href="https://github.com/geany/geany/issues/1047"></link>
  <meta itemprop="name" content="View Issue"></meta>
</div>
<meta itemprop="description" content="View this Issue on GitHub"></meta>
</div>