Author Topic: Problem with syntax highlight colours  (Read 2957 times)

Offline Ken_A

  • Single posting newcomer
  • *
  • Posts: 2
Problem with syntax highlight colours
« on: August 28, 2024, 12:07:29 am »
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 ?

Offline Miguel Gimenez

  • Developer
  • Lives here!
  • *****
  • Posts: 1628
Re: Problem with syntax highlight colours
« Reply #1 on: August 28, 2024, 01:16:55 pm »
This works OK in the nightly.

However, the Default buttons do not work as intended. EDIT: should be fixed in trunk.
« Last Edit: August 28, 2024, 06:23:05 pm by Miguel Gimenez »