After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 632426 - End round bracket in html detailed single line method docs is wrong colour.
End round bracket in html detailed single line method docs is wrong colour.
Status: RESOLVED FIXED
Product: doxygen
Classification: Other
Component: general
1.7.2
Other Windows
: Normal trivial
: ---
Assigned To: Dimitri van Heesch
Dimitri van Heesch
Depends on:
Blocks:
 
 
Reported: 2010-10-18 03:52 UTC by Cleo Saulnier
Modified: 2011-01-03 19:01 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Cleo Saulnier 2010-10-18 03:52:07 UTC
Overview:

Ridiculously trivial end round bracket is wrong colour on prototypes displayed on a single line in detailed docs using default html style.  If the prototype is displayed on several lines, the end round bracket shows up the correct colour.

Actual Results:

<h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a2ecacbe1ee0ff8d3f9a50fc3582e55dc"></a><!-- doxytag: member="SkipList::SkipList" ref="a2ecacbe1ee0ff8d3f9a50fc3582e55dc" args="()" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T, class Pr = std::less&lt;T&gt;, class R = RNG&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_skip_list.html">SkipList</a>&lt; T, Pr, R &gt;::<a class="el" href="class_skip_list.html">SkipList</a> </td>
          <td>(</td>
          <td class="paramname">&#160;)</td>  <!-- THE PROBLEM IS HERE!!! -->
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>

Expected Results:

<h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a2ecacbe1ee0ff8d3f9a50fc3582e55dc"></a><!-- doxytag: member="SkipList::SkipList" ref="a2ecacbe1ee0ff8d3f9a50fc3582e55dc" args="()" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T, class Pr = std::less&lt;T&gt;, class R = RNG&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_skip_list.html">SkipList</a>&lt; T, Pr, R &gt;::<a class="el" href="class_skip_list.html">SkipList</a> </td>
          <td>(</td>
          <td>&#160;)</td>  <!-- THE PROBLEM IS GONE!!! -->
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>

Take a look at the two lines with the round brackets.

          <td>(</td>
          <td class="paramname">&#160;)</td>

See how the closing one has "paramname" as a classname and the opening bracket doesn't.  I'm guessing this is what is causing the different colours.  Happens with any amount of arguments as long as the whole prototype is displayed on a single line (minus the template stuff).
Comment 1 Dimitri van Heesch 2010-11-30 20:18:07 UTC
Confirmed. Should be fixed in the next subversion update.
Comment 2 Dimitri van Heesch 2011-01-03 19:01:14 UTC
This bug was previously marked ASSIGNED, which means it should be fixed in
doxygen version 1.7.3. Please verify if this is indeed the case. Reopen the
bug if you think it is not fixed and please include any additional information
that you think can be relevant.