Author Topic: compiler errors hard to read  (Read 4216 times)

Offline Krox

  • Single posting newcomer
  • *
  • Posts: 6
compiler errors hard to read
« on: February 17, 2011, 01:54:28 pm »
hi there,

The error-message of a compiler has pretty unsuitable colors.
http://imgur.com/6hwRql&RO9lA

which is really hard to read (probably depends on monitor settings)
Anyway, the last line is highlighted correctly
http://imgur.com/6hwRq&RO9lAl

The setting for that specific color is not in codeblocks itself, but I found some theme-setting of gnome (I'm on Ubunut). Problem is, if I change that color something appropriate (orange), large parts of the codeblocks-toolbar (and other programs) which used to be grey/white will change too, which is more than ugly.

I know, not a fundamental issue at all, but really annoying. Hope somebody can help me,
Krox

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: compiler errors hard to read
« Reply #1 on: February 17, 2011, 02:05:44 pm »
Known problem, the colour is hardcoded in the source. No way to set it in the gui, sorry.
You can patch the source directly or provide a patch which adds a gui to override the colours.
It won't be hard, but no one have done it so far....

Another option is to use another GTK theme or to modify your current one.
The problem is that the highlight has gradient, remove the gradient and the won't be a problem.
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7255
Re: compiler errors hard to read
« Reply #2 on: February 17, 2011, 02:49:47 pm »
That's not totally correct.
The highlighting of selected items is done by wxWidgets (and as far as I know, there is no option to change the colour used by wxWidgets).
It uses wxSYS_COLOUR_HIGHLIGHT for focused items and wxSYS_COLOUR_BTNSHADOW for items that do not have the focus.

The "problem" with the errors (and warnings) is, that a click on it immediately jumps into the appropriate line in the editor.
Therefore the items loses the focus and wxSYS_COLOUR_BTNSHADOW is used.

Offline Krox

  • Single posting newcomer
  • *
  • Posts: 6
Re: compiler errors hard to read
« Reply #3 on: February 17, 2011, 04:00:25 pm »
Another option is to use another GTK theme or to modify your current one.
The problem is that the highlight has gradient, remove the gradient and the won't be a problem.

Modifying of current one leads to ugly results as explained before, but I found one without gradients, that will do.

Thanks for your time you two

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: compiler errors hard to read
« Reply #4 on: February 17, 2011, 06:12:45 pm »
Jens:
Do you have a theme that can be used to reproduce the problem?
Mine is working OK and it has gradients.
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]