Code::Blocks Forums

User forums => General (but related to Code::Blocks) => Topic started by: Ken_A on August 28, 2024, 12:07:29 am

Title: Problem with syntax highlight colours
Post by: Ken_A 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 ?
Title: Re: Problem with syntax highlight colours
Post by: Miguel Gimenez 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.