Author Topic: C17 and C++20 highlighting kit  (Read 21255 times)

Offline nowhereman

  • Single posting newcomer
  • *
  • Posts: 3
C17 and C++20 highlighting kit
« on: May 27, 2021, 03:16:06 am »
Hello everybody. I've created a small kit to generate text for the Set 1 and Set 2 "Keywords..." in the editor settings.

It would be nice if the next version of Code::Blocks would render this kit obsolete.  ;)

Attached to this post should be the relevant .ZIP file.

Offline BlueHazzard

  • Developer
  • Lives here!
  • *****
  • Posts: 3353
Re: C17 and C++20 highlighting kit
« Reply #1 on: May 27, 2021, 09:02:31 am »
Hi, thank you for your work,
Can you add a ticket on SourceForge? It probably will get lost in the forum....

Offline nowhereman

  • Single posting newcomer
  • *
  • Posts: 3
Re: C17 and C++20 highlighting kit
« Reply #2 on: May 28, 2021, 02:16:40 pm »
Version 2
  • [cpp20] renamed "lib_ostrem.txt" to "lib_ostream.txt" and updated script
  • [cpp20] updated "lib_iosfwd.txt"
  • [cpp20] updated "lib_version.txt"
  • [c17] updated "lib_inttypes_h.txt"
  • [c17] updated "lib_stdlib_h.txt"

Can you add a ticket on SourceForge? It probably will get lost in the forum....
It's OK. I believe the forum is where this topic belongs, considering that the kit is geared more towards regular users than developers.
Also perhaps it is for the better if overzealous highlighting doesn't get into vanilla Code::Blocks. Even I have doubts if identifiers such as arg or size should be included.

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: C17 and C++20 highlighting kit
« Reply #3 on: May 28, 2021, 03:45:29 pm »
Nope, it is really bad idea to use "stupid"/plain textual highlighting for such things.
The one currently in C::B are bad enough we don't need more of these. :)
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

nowhereman2

  • Guest
Re: C17 and C++20 highlighting kit
« Reply #4 on: July 11, 2021, 07:52:03 am »
Version 4
  • added [c90] for ISO C90, aka ANSI C89, aka ANSI C standard
  • added [cpp98] for ISO C++98 standard
  • [c17] updated "lib_stdlib_h.txt"
  • [c17] updated "lib_string_h.txt"
  • [cpp14] updated "lib_algorithm.txt"

Version 3
  • added [cpp14] for ISO C++14 standard
  • [cpp20] renamed "lib_coroutines.txt" to "lib_coroutine.txt" and updated script
  • [cpp20] lib_ostream: corrected "no_emit_on_flush" to "noemit_on_flush"