GNOME Bugzilla – Bug 618462
Fortran: doxygen comments no longer customizable viz cascading style sheet (doxygen.css)
Last modified: 2012-06-10 09:41:48 UTC
language: Fortran (free-format) bug didnt exist: v1.6.1 bug exists: v1.6.3 When i was using version 1.6.1 of doxygen i could change the font color and background color of all the comments in my code as they appeared in the html version of my documentation (SOURCE_BROWSER = checked) by modifying the "comment" class in the cascading style sheet. But now in version 1.6.3 the html source for the page that displayes my fortran code is missing the tag <span class="comment"> for doxygen comments ("!>"). the tag is still there for the regular comments ("!"). this is similar to bug 608072.
Can you please attach a self-contained example (source+config file in a tar or zip) that allows me to reproduce the problem?
Created attachment 160940 [details] zip file containing source & config files attached is a zip file containing one source file (test.f90) and one config file (test.dox) and my modified cascading style sheet (doxygen.css) and 2 jpegs (screen captures of the html generated documentation) each labeled with the version they were generated from. notice the difference in the colors of the lines of code marked as "doxygen comments".
Besides the problems mentioned, also continuation of comment lines for variables after the variable don't work properly (especially when multiple lines are used). Comments after the variables are not stripped when STRIP_CODE_COMMENT is set to YES Example: !============================================================================== !> first line of comment<br> !> second line of comment ! !> next section of comment first line<br> !! next section of comment second line of comment !============================================================================== Subroutine error_comment(arg1, arg2, arg3) !============================================================================== integer :: arg1 !< arg1 comment integer :: arg2 !< arg2 comment<br> !< continuation of arg2 integer :: arg3 !< arg3 comment<br> !! continuation of arg3 !============================================================================== end
Created attachment 215113 [details] [review] PATCH: correcting handling of comments in code The attached patch fixes coloring regarding multiline comments in the source code and also handling of STRIP_CODE_COMMENT (patch is based on svn version 818)
Thanks, I'll include the patch in the next subversion update.
This bug was previously marked ASSIGNED, which means it should be fixed in doxygen version 1.8.1.1. 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.