Abdelrazak Younes wrote:
Pavel Sanda wrote:
All the LFUNs can be documented in one place just before
'LyXAction::init()'.
on contrary i would like to make the comment to each lfun separately
as it is now.
the moment we keep the comments elsewhere people will forget to add
the doxy
(and it will be pain to keep it synchronous too).
I understand. But maybe you can make it works with special tags like
\subpage, \defgroup and \ingroup. Or maybe even better with the \enum
command:
http://www.stack.nl/~dimitri/doxygen/commands.html#cmdenum
Following this idea, the dox comment would look like this in
LyXAction::init():
ev_item const items[] = {
/** \var kb_action::LFUN_ACCENT_ACUTE
* \li Action: xxxx
* \li Syntax: xxxx
*/
{ LFUN_ACCENT_ACUTE, "accent-acute", Noop, Layout },
Could you try this please?
Abdel.