User forums > Help
How to change the default colours of the changebar
(1/1)
vicent:
Dear all,
I've managed to change the colours of the editor, the caret, the vertical line for the 80th column, the margin chrome, the line number section... But I still don't know how to change the green and yellow (or orange, according to some of you) colours that are used in the so-called changebar to mark those lines containing recently saved and unsaved changes, respectively.
I do want to use the changebar (I know that it can be disabled), but I would prefer having softer colours in it so that I do not get distracted when typing.
So, is it something that can be customised? Should I directly go to modify the `default.conf` file, or is it there any menu option to change this??
I look forward to your answers.
BlueHazzard:
The colors for the changebar are currently hard coded in
sdk\cbeditor.cpp:1619
--- Code: --- control->MarkerDefine(wxSCI_MARKNUM_CHANGEUNSAVED, wxSCI_MARK_FULLRECT);
control->MarkerSetBackground(wxSCI_MARKNUM_CHANGEUNSAVED, wxColour(0xFF, 0xE6, 0x04));
control->MarkerDefine(wxSCI_MARKNUM_CHANGESAVED, wxSCI_MARK_FULLRECT);
control->MarkerSetBackground(wxSCI_MARKNUM_CHANGESAVED, wxColour(0x04, 0xFF, 0x50));
--- End code ---
Can you open a feature request on SF to make this colors configurable?
vicent:
--- Quote from: BlueHazzard on December 06, 2021, 01:30:06 am ---The colors for the changebar are currently hard coded in
sdk\cbeditor.cpp:1619
[...]
Can you open a feature request on SF to make this colors configurable?
--- End quote ---
Done! (see https://sourceforge.net/p/codeblocks/tickets/1160/)
Thank you for the information.
Miguel Gimenez:
Fixed in r12558
Navigation
[0] Message Index
Go to full version