User forums > Using Code::Blocks

Syntax Highlighting C++/SDL

<< < (2/3) > >>

ravenshade:
http://forums.codeblocks.org/index.php/topic,17248.msg118337.html#msg118337

Okay, I take that, but exactly what is set 4 supposed to do? Set 1 presents the text as Strong && Blue, Set 2 presents the text as Strong && Green. Set 4...does nothing visibly. (So far as I can tell).

Technically SDL_Surface is a global class/type def, but I can't tell the difference between it and normal black text.

Alpha:
What version of Code::Blocks are you using?
If you have 12.11 or trunk/nightly, there should be a 'Global classes and typedefs' entry in the color style selection list.  (There is also 'Keyword' and 'User keyword' which control the style of sets one and two.)

ravenshade:
I'm using the one from the Fedora repository...which appears to be 10.05

I don't think Code::Blocks have submitted an updated version to the repository yet... so in the color style selection list...or list of "Default, Comment, ... , Number, Keyword, User keyword..." and so on I don't have Global Classes & Typedefs...

oBFusCATed:
Alpha:
Here you see a request for improving your hack.  ;D
But please don't mislead user/s, the feature he requests do not exist currently.

ravenshade:
oBFusCATed:

If the sets actually changed the colour/style of the text as they appear supposed to be able to do, that would be enough. I don't really need to craft an entire new Lexer. If it were possible for me to change what those sets do, would also be satisfactory. As I could then enter the stuff I needed through the GUI.

I just don't understand why there are 9 sets, if they 7 of them don't do anything.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version