User forums > General (but related to Code::Blocks)

Problem with syntax highlight colours

(1/1)

Ken_A:
Hello,
I am a newbie to CodeBlocks, and have a small problem with syntax highlight colours in the editor.

I use:  Menu ->Setting > Editor > Syntax Highlighting
Then Click on (say) Foreground: This pops up the colour selector
Click on Define custom colour.
Choose a colour, then click Add to Custom Colours.
Click OK.   This applies the custom colour.

All good, but then when I click again to set colour of something else, and the colour selector pops up again,
    the Custom Colour boxes are all white.
I expected the first box to have the custom colour I had set.  And as I add more custom colours I expected
    them all to remain available in the Custom Colour boxes (up to max of 16).
But it does not seem to work this way.

Am I missing something, or is this how it is meant to be ?

Miguel Gimenez:
This works OK in the nightly.

However, the Default buttons do not work as intended. EDIT: should be fixed in trunk.

Navigation

[0] Message Index

Go to full version