Developer forums (C::B DEVELOPMENT STRICTLY!) => Contributions to C::B => Topic started by: TheArquitect on March 28, 2020, 11:51:54 am
Title: C++ missing Keywords
Post by: TheArquitect on March 28, 2020, 11:51:54 am
Hi,
I'm adding (Settings->Editor->Syntax highlighting->keywords) the c++'s keywords is missing to be identified at text's body. How can I transfer it to the next version of Code::Block?
Best regards, TheArquitect
Title: Re: C++ missing Keywords
Post by: oBFusCATed on March 28, 2020, 12:09:44 pm
Can you try to rephrase your question, because I don't understand it? Please provide more details. Which version is previous and which one is next? OS?
Title: Re: C++ missing Keywords
Post by: stahta01 on March 28, 2020, 09:41:16 pm
C++ Keywords that are not colored in green or blue inside CB SVN 11979.
Code
and and_eq bitand bitor char8_t compl concept consteval constinit co_await co_return co_yield not not_eq or or_eq xor xor_eq
Note: This is just my guess on posters issue.
Tim S.
Title: Re: C++ missing Keywords
Post by: gd_on on March 29, 2020, 11:29:50 am
In my lexer_cpp.xml, I have also added rename.
Title: Re: C++ missing Keywords
Post by: MortenMacFly on March 29, 2020, 04:49:55 pm
I think the best would be to implement whats missing in trunk. Patch?
Settings generally can be transferred using the cb_share_config tool.
Title: Re: C++ missing Keywords
Post by: oBFusCATed on March 29, 2020, 05:19:41 pm
Yes, but we still don't know what the actual problem is. Last two replies are just speculation.
Title: Re: C++ missing Keywords
Post by: TheArquitect on April 03, 2020, 12:06:04 pm
I notice the C::B doesn't have a lot of keyword in its DB located in Settings->Editor->Syntax highlighting->keywords I've adding a lot of keywords these are missing there and I want to help the C::D sending a list more complete.
Title: Re: C++ missing Keywords
Post by: mimi89999 on April 03, 2020, 12:33:21 pm
They are in `src/sdk/resources/lexers/lexer_cpp.xml`, but they are commented. I don't know why.