Author Topic: Feature request: inactive syntax highlighting  (Read 5109 times)

Offline crobar

  • Multiple posting newcomer
  • *
  • Posts: 15
Feature request: inactive syntax highlighting
« on: December 16, 2013, 02:01:32 pm »
Hello,

First, thanks for code::blocks!

In code::blocks you have fine control over C++ syntax highlighting, even highlighting differently the code in #ifdefs which code::blocks decides is inactive.

This is in theory a nice feature, but makes it very difficult to read the code, and personally I have to change all the settings individually to make it readable. I would much prefer an option to give a slightly different background colour to these blocks of text, something more like the active line background highlighting, but otherwise keeping the highlighting the same. This can't actually quite be achieved even by changing the settings for every type of statement individually as the background colour remains white beyond the end of the lines.

Alternatively, an option to simply turn off special 'inactive' syntax highlighting with one option would also be nice.

I'm using 12.11, so sorry if this already exists in the dev version or something.

Whether you like this idea or not, thanks again for the hard work.

Edit:

oh, and it would also be nice to have an inactive code section in the configuration editor below the active one so you can view the effect of settings on this as you change them.

Edit 2:

I see actually you can turn off the greying out of incative code, so sorry about not checking thoroughly enough for this!
« Last Edit: December 16, 2013, 02:12:25 pm by crobar »