Author Topic: Adding a style to the CPP Lexer  (Read 5750 times)

~guilio

  • Guest
Adding a style to the CPP Lexer
« on: August 25, 2005, 10:55:52 am »
Hi Code::Blocks team

Excuse my ignorance, but i have a question regarding the style elements in the 'lexer_cpp.xml'.

I use doxygen to comment the project i am working on and tend to use the '///' doxygen comment indicator as appose to the default '/** */' comment indicator. I really like the syntax highlighting of Doxygen commands within the comments and was wondering if there was a way to add the '///' style comment to the lexer so that i could have the editor syntax highlight the commands in the later format

so the below two patterns would be treated the same

/** @brief This is my comment */
/// @brief This is my comment

If i can't add it myself would it be a candidate for a feature request? :-)

Thanks

Offline mandrav

  • Project Leader
  • Administrator
  • Lives here!
  • *****
  • Posts: 4315
    • Code::Blocks IDE
Re: Adding a style to the CPP Lexer
« Reply #1 on: August 25, 2005, 01:23:54 pm »
Please use the latest version. It's already supported.
The sample code in the colors configuration contains both types of documentation comments and it highlights them equally well.
At least that's what I see.

Yiannis.
Be patient!
This bug will be fixed soon...