User forums > Nightly builds
The 27 May 2026 build (13855) is out.
eckard_klotz:
Hello Miguel Gimenez.
--- Quote ---... Relating margin order, I prefer it as is. ...
--- End quote ---
* It is not the order but the unwanted firing of folding, that is disturbing.
* An unwanted folding means always to breakdown the development-flow.
* Suddenly and unexpected the text-part, you want to edit, is vanishing.
* Instead of of implementing your idea, you have to unfold again.
* Than you have to search for the text-position you wanted to work on.
* Finally, by clicking on it, you risk to fold again.
* I know nobody who is not frustrated by this.
* Moving the folding margin to the left and away from the text area prevents this nasty disturbance.
If you prefer the current margin order but your users not the alternative will be to make the margin order configurable.
But I fear this will mean much more effort for you.
Thus, I just ask you to solve the folding issue and changing the margin order is a simple way to fix the issue without disabling the folding completely.
Best regards,
Eckard Klotz.
cacb:
Hello, I have been reading this thread to see if I am able to enable dark mode in C::B
I am running Windows 10 (dark mode) and C::B nightly build 13961. I tried the following
set WX_MSW_DARK_MODE=1
codeblocks.exe
I am able to get the C::B application in dark mode, but the code editor is still in light mode and I don't really understand why, see attached screenshot. Is this due do some old .conf file I am using or is there an easy way to get the editor window to appear in dark mode without having to redefine every detail?
Related question: I am also running C::B on Linux Kubuntu. Is there a way to enable dark mode there?
EDIT: On Kubuntu 24.04 KDE and using C::B 13924 I was able to achieve a similar dark mode effect as on Windows 10, but still the editor is in light mode:
export GTK_THEME=Adwaita:dark
codeblocks&
Miguel Gimenez:
You do not need to set variables, there is a setting in Environment -> Colours to enable dark mode. This should work also on Kubuntu.
The editor window (cbStyledTextCtrl) is based in old wxWidgets code and does not currently support dark mode. Other parts of the UI in dark mode have been fixed after r13961, see r13969 to r13972, r13975 and r13976.
Some wxWidgets items still do not work correctly in dark mode, wxMessageDialog for example.
cacb:
Thank you for the answer. On Kubuntu, the option under Environment -> Colours, i.e. "Select application appearance (if supported by platform)" is disabled, so I am not able to select anything. It says "System Default" only.
Thank you for the clarification of the missing dark mode in the editor window. That is a pity, but at least it is clear.
EDIT: Given no support for dark mode in the editor, I have been looking for a way to change the main background colour of the editor window to something other than white. This is not a perfect solution, but it may give some eye relief: Settings -> Editor -> Syntax highlighting
Then select something other than pure white as background, for example light blue (H,S,L) = (140,240,200).
EDIT2: On closer inspection, it is possible to achieve a decent dark mode in the editor using Settings -> Editor -> Syntax highlighting and creating a new "Colour theme" called e.g. DarkMode and change all the relevant colours including foreground/background and C++ language related colours, I did this and copied the relevant section of default.conf from Windows to Linux so now I have a working dark mode of both the C::B IDE and the code editor. At least it seems good enough to try to use it. This means to switch from default to dark mode or vice versa you have to do 2 things
Settings -> Environment -> Colours "Select application appearance (if supported by platform)" (or use environment variable as needed)
Settings -> Editor -> Syntax highlighting Select the relevant user defined colour theme.
Navigation
[0] Message Index
[*] Previous page
Go to full version