Author Topic: Lexer with two themes?  (Read 553 times)

Offline BackInTheSandbox

  • Single posting newcomer
  • *
  • Posts: 9
Lexer with two themes?
« on: December 06, 2019, 09:31:50 am »
Hello,
I just learned how to use a custom lexer (lexer_cpp.xml in my case) to reset to our standard color scheme in our company after updating to the newest Code::Blocks version.However, I have a few personal modificaitons, therefore I have my own Colour theme in the Syntax highlighting settings, in addition to the "default" theme.I'm wondering, if it is possible to modify the lexer_cpp.xml to provide two color themes instead of only the default?
TIA

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 12371
    • Travis build status
Re: Lexer with two themes?
« Reply #1 on: December 06, 2019, 07:07:46 pm »
No, this is only for defaults. I don't think it makes any sense to change it.
If you want to share themes then you can use the cb_share_config utility...
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Offline BackInTheSandbox

  • Single posting newcomer
  • *
  • Posts: 9
Re: Lexer with two themes?
« Reply #2 on: December 06, 2019, 08:42:06 pm »
If you want to share themes then you can use the cb_share_config utility...
Thanks. That would also be a way to save my confg before updating.