all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Hide/show support for C++ triple-slash Doxygen markup?
@ 2010-05-29 18:09 John Yates
  2010-05-29 20:00 ` Thien-Thi Nguyen
  0 siblings, 1 reply; 2+ messages in thread
From: John Yates @ 2010-05-29 18:09 UTC (permalink / raw)
  To: help-gnu-emacs

I use Doxygen's triple-slash syntax to markup my C++ code.  There are
two important cases which arise:

1) block markup comments which are the sole element on the line and may
   or may not begin flush left; e.g.

class foo
/// A one sentence brief description of foo.  The elaboration can
/// continue on for many lines.
{
    ...
};

void foo::bar
    /// A one sentence brief description of bar.  The elaboration can
    /// continue on for many lines.
    () const
{
    ...
}


2) trailing markup comments which always follow some number of C++
   tokens earlier on the first line but may still spill over onto
   subsequent lines; e.g.

class foo
{
    int  _var1;                 ///< A brief description of _var1.
    int  _var2;                 ///< A brief description of _var2
                                ///< requiring additional lines.
}

void foo::bar
    ( int arg1                  ///< A brief description of arg1.
    , int arg2                  ///< A brief description of arg2
                                ///< requiring additional lines.
    ) const
{
    ...
}


I wonder what hide/show support exists to deal with these conventions.
The most important cases are the block markup comments.  Ideally I would
like to be able to eliminate these altogether, meaning that I would
prefer not to waste a line simply to indicate presence of a folded
block markup comment.  Instead I would like a fringe marker, a la

    http://www.emacswiki.org/emacs/hideshowvis.el

/john





^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-05-29 20:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-05-29 18:09 Hide/show support for C++ triple-slash Doxygen markup? John Yates
2010-05-29 20:00 ` Thien-Thi Nguyen

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.