User forums > Help

syntax coloring

(1/1)

vix:
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, ... ?

mandrav:
Try here.

ascxaxsvcbsxbbqvcxqsbcvxs:

--- Quote from: vix on March 07, 2007, 01:35:44 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, ... ?

--- End quote ---

I was about to ask the same question...

vix:

--- Quote ---Try here.
--- End quote ---

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

mandrav:

--- Quote from: vix on March 08, 2007, 05:25:26 pm ---
--- Quote ---Try here.
--- End quote ---

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

--- End quote ---

Well, obviously :).

Navigation

[0] Message Index

Go to full version