User forums > Using Code::Blocks
Syntax Highlighting C++/SDL
Alpha:
--- Quote from: ravenshade on April 14, 2013, 08:07:58 pm ---I'm using the one from the Fedora repository...which appears to be 10.05
--- End quote ---
In that case, I recommend trying a nightly (binaries here).
--- Quote from: oBFusCATed on April 14, 2013, 08:20:55 pm ---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.
--- End quote ---
If I understood ravenshade correctly, (s)he is just looking for additional keyword highlighting, not semantic (or pseudo semantic in my case ;)). Keyword highlighting is something that Scintilla provides just fine, and in 12.11 and newer, three sets of keywords are available.
ravenshade:
Ah, I'll wait until the next Code::Blocks is submitted to the fedora repository. The last time I installed something from binary...it went horribly wrong.
But that's exactly what I want Alpha, more keyword highlighting!
oBFusCATed:
Settings -> Editor -> Syntax Highlight -> C++ -> Keywords -> Enter your keywords
This is available for quite a long time.
ravenshade:
Yes, I get that. But...
--- Quote from: ravenshade on April 12, 2013, 06:49:31 pm ---Null looks a bit weird in bright green or blue, it's supposed to be red or something similar. I had thought that the different 'sets' of keywords would have different colours or styles attached to them but as far as I can tell only sets 1 & 2 do anything at all. Though I am using the sets at the moment just to get round the problem.
--- End quote ---
There are some 'words' such as NULL which shouldn't be in 'blue' because it's a value not a type or class. Which is why I'm trying to figure out how to get the other 'sets' to actually do things.
Jenna:
--- Quote from: ravenshade on April 14, 2013, 09:42:26 pm ---Ah, I'll wait until the next Code::Blocks is submitted to the repository. The last time I installed something from binary...it went horribly wrong.
--- End quote ---
On my server there are not just nightly binaries, it's a repo that should work fine with Fedora 16 to 18.
I personally have used it for fc17 and use it for fc18 now.
I do not provide binaries of the 12.11 release on my server (at least not for Fedora and RedHat/CentOS).
Navigation
[0] Message Index
[*] Previous page
Go to full version