Author Topic: syntax coloring  (Read 3014 times)

Offline vix

  • Multiple posting newcomer
  • *
  • Posts: 60
syntax coloring
« on: March 07, 2007, 01:35:44 pm »
I think it's very useful having different comment type, every one vith different coloring options.
Let me explain with an example:
- if after the // (for C comment) I write a $$$ (i.e. //$$$), I'd like to see the full line colored with yellow background
- if after the // I write a ###, I'd like to see the foreground text blue
- ... and so on

I think it's useful because you can immediately distinguish an important comment from a non important one, or algorithm info from other general info...

I see there are comment (normal) and comment (documentation), but I'd like to add new ones (in Code statistics settings, for example)

Is there a way to do this?

And is it possible to define different colors for integer, floating, hex, octal, ... ?

Offline mandrav

  • Project Leader
  • Administrator
  • Lives here!
  • *****
  • Posts: 4291
    • Code::Blocks IDE
Re: syntax coloring
« Reply #1 on: March 07, 2007, 02:15:13 pm »
Try here.
Be patient!
This bug will be fixed soon...

Offline ascxaxsvcbsxbbqvcxqsbcvxs

  • Multiple posting newcomer
  • *
  • Posts: 53
Re: syntax coloring
« Reply #2 on: March 07, 2007, 02:52:59 pm »
I think it's very useful having different comment type, every one vith different coloring options.

I see there are comment (normal) and comment (documentation), but I'd like to add new ones (in Code statistics settings, for example)

Is there a way to do this?

And is it possible to define different colors for integer, floating, hex, octal, ... ?

I was about to ask the same question...

Offline vix

  • Multiple posting newcomer
  • *
  • Posts: 60
Re: syntax coloring
« Reply #3 on: March 08, 2007, 05:25:26 pm »
Quote
Try here.

Do you mean this isn't a CodeBlocks feature, but a Scintilla one?

Offline mandrav

  • Project Leader
  • Administrator
  • Lives here!
  • *****
  • Posts: 4291
    • Code::Blocks IDE
Re: syntax coloring
« Reply #4 on: March 08, 2007, 05:37:50 pm »
Quote
Try here.

Do you mean this isn't a CodeBlocks feature, but a Scintilla one?

Well, obviously :).
Be patient!
This bug will be fixed soon...