I changed the bg color in "Global Styles" to gray, then I expected the bg color for my cpp source files would be gray, too. But it isn't, because all bg color for cpp styles are set to be white. It's a pain to set them to gray one by one.
And, even if I do set them to gray, what if one day I want to change the default bg color to "red" (I know that's crazy :) ). All I want is not just to change the color, but to make them "undefined", thus they can be the default bg color automatically.
Then I opened the styler.xml file and deleted all "bgcolor" attribute setting for cpp.
So what I suggest is: add "Unset" (or some other name) button, or some other way to achieve that when we want to make that style "undefined", if we really prefer the "Global Styles", the default setting. It's not necessary to add an "Unset" button for each setting (fg color, bg color, bold, etc.). It would be good for an "Unset" button unsets the whole group (C++: PREPROCESSOR, C++: COMMENT, etc.)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I changed the bg color in "Global Styles" to gray, then I expected the bg color for my cpp source files would be gray, too. But it isn't, because all bg color for cpp styles are set to be white. It's a pain to set them to gray one by one.
And, even if I do set them to gray, what if one day I want to change the default bg color to "red" (I know that's crazy :) ). All I want is not just to change the color, but to make them "undefined", thus they can be the default bg color automatically.
Then I opened the styler.xml file and deleted all "bgcolor" attribute setting for cpp.
So what I suggest is: add "Unset" (or some other name) button, or some other way to achieve that when we want to make that style "undefined", if we really prefer the "Global Styles", the default setting. It's not necessary to add an "Unset" button for each setting (fg color, bg color, bold, etc.). It would be good for an "Unset" button unsets the whole group (C++: PREPROCESSOR, C++: COMMENT, etc.)
Agree fully! This annoys everyone who uses the non-white system window color
use find&replace in stylers.xml