[Doxygen-develop] don't put closing parenthesis on its own line
Brought to you by:
dimitri
From: Anthony F. <ant...@gm...> - 2013-02-26 07:32:58
|
Greetings. I don't know if it is intentional or not, but I found that the current Doxygen output for multiple (2-or-more) argument functions to be sub-optimal. It wants to render it like so: retType myFunction( Type1 arg1, Type2 arg2 ) In case that formatting gets mangled, you can see the difference in this sample page, pointed out by PovAddict: http://www.stack.nl/~dimitri/doxygen/manual/examples/overload/html/class_test.html or: http://preview.tinyurl.com/avovthd I don't see any reason for this extra space, not even "const" or similar. After all, 0- and 1-arity functions don't get the extra space. And I personally dislike the aesthetic, although I can appreciate that this is less clear-cut, and that others might have other opinions. (As PovAddict said on IRC: "for something like this, you'll get bikeshedding no matter where you post it"...) Anyway, I cooked up a small patch to get rid of the extra space. As a bonus, it is a net removal of lines of code. Please feel free to incorporate or discard. Thanks, either way, for a fantastic tool. Best regards, Anthony Foiani |