Javadoc-style comments do not wrap correctly without leading newline
jrk opened this issue · 1 comments
jrk commented
Working in a C++/Doxygen project with the convention that doc comments start immediately after the opening /**
:
/** This is a docstring across multiple lines
* which does _not_ rewrap correctly. */
Wrap Plus does not correctly recognize this as a C-style block comment, so it does not insert *
at the start of newly split lines like it does when there is a leading newline:
/**
* This is a docstring across multiple lines
* which _does_ rewrap correctly.
*/
jrk commented
Related: when the closing */
is not preceded by a newline, any whitespace before it is lost. /** This */
reflows into /** This*/
.