Author Topic: Dark code::blocks background?  (Read 62571 times)

Offline Mariius

  • Single posting newcomer
  • *
  • Posts: 4
Dark code::blocks background?
« on: June 09, 2012, 01:47:59 pm »
Google was useless for this question. I can't find normal answer on how to make your code::blocks compiler background darker, for ex: https://sites.google.com/site/svlasovs/home/codeblocks_dark.png. As i understand, there are "theme" codes for this compiler, however, I did not found them. I would be very grateful if you would share some with me :)
Thanks.

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: Dark code::blocks background?
« Reply #1 on: June 09, 2012, 02:18:25 pm »
Hm, are you talking about the editor?
(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 Mariius

  • Single posting newcomer
  • *
  • Posts: 4
Re: Dark code::blocks background?
« Reply #2 on: June 09, 2012, 02:40:30 pm »
Hm, are you talking about the editor?
Yes

Offline Alpha

  • Developer
  • Lives here!
  • *****
  • Posts: 1513
Re: Dark code::blocks background?
« Reply #3 on: June 09, 2012, 02:43:48 pm »
Swap your lexer_cpp.xml with the attached one.

zabzonk

  • Guest
Re: Dark code::blocks background?
« Reply #4 on: June 09, 2012, 02:48:20 pm »
Settings|Editor...|Syntax Highlighting. You will also want to change the caret colour in Margins & Caret.

Offline Mariius

  • Single posting newcomer
  • *
  • Posts: 4
Re: Dark code::blocks background?
« Reply #5 on: June 09, 2012, 10:46:55 pm »
Swap your lexer_cpp.xml with the attached one.

Hmm. I swaped it, and code blocks did not change at all.

Offline Alpha

  • Developer
  • Lives here!
  • *****
  • Posts: 1513
Re: Dark code::blocks background?
« Reply #6 on: June 09, 2012, 11:11:58 pm »
I assume you removed the .txt file extension before swapping, correct?

Offline Mariius

  • Single posting newcomer
  • *
  • Posts: 4
Re: Dark code::blocks background?
« Reply #7 on: June 11, 2012, 11:41:23 am »
Yes, I did :)

Offline Alpha

  • Developer
  • Lives here!
  • *****
  • Posts: 1513
Re: Dark code::blocks background?
« Reply #8 on: June 11, 2012, 11:17:36 pm »
Try: Settings->Editor...->Syntax highlighting Colour theme: "default"; Syntax highlighting for: "C/C++"; "Reset defaults" (button).

Offline Panarchy

  • Single posting newcomer
  • *
  • Posts: 4
Re: Dark code::blocks background?
« Reply #9 on: November 10, 2012, 01:56:31 pm »
Swap your lexer_cpp.xml with the attached one.

There must be better dark lexers' available:


Offline Alpha

  • Developer
  • Lives here!
  • *****
  • Posts: 1513
Re: Dark code::blocks background?
« Reply #10 on: November 11, 2012, 05:06:17 am »
There must be better dark lexers' available:
I think everyone's idea of "better" is different.  There are more user posted lexers, if you would like to try them (search the forums; this is just the most recent of many).
Alternatively, if you know exactly what colors you want, each lexer is completely customizable via the syntax highlighting settings.