Author Topic: How to edit documentation keywords?  (Read 3168 times)

Offline DreamCT

  • Multiple posting newcomer
  • *
  • Posts: 13
How to edit documentation keywords?
« on: December 17, 2007, 02:08:09 am »
Hi all.

There are "Comment keyword" in "Syntax highlighting Setting".

The keyword "@file", "@version", "\class", "\code", "\endcode", "@param" and etc. are work.
But I need more for example "Created, Created by, Modified, Modified by, Purpose, ...".
And I want to modify "@file" to "File:", "@version" to "Version:" and more...

Does it can in the CodeBlocks? If it is not possible, where i find the possible keyword list?

Thanks in advance.



mariocup

  • Guest
Re: How to edit documentation keywords?
« Reply #1 on: December 17, 2007, 09:17:35 am »
Hi DreamCT,

select the Settings->Editor->Syntax Highlighting. Select the scheme for highlighting e.g. C/C++ and push the keywords button. With Set you select a category of keywords. Set == 3 is documentation. If you set it to 3 you can modify the keywords. The keyword list is saved in the lexer_<language>.xml of Codeblocks (search in the Codeblocks installation directory).

Offline DreamCT

  • Multiple posting newcomer
  • *
  • Posts: 13
Re: How to edit documentation keywords?
« Reply #2 on: December 17, 2007, 11:31:17 am »
Oh... I looked at "keywords..." part in former days.

Quote
Set == 3 is documentation

But, I failed to catch that the above is able to change.

Thanks to mariocup in addition to tip where the setting is saved...