Rough initial implementation of line wrapping comments (.line and .docLine). Encountered an issue that line comments were not being merged even though there was code to do it, because that code was being thwarted by soft breaks. Wrote two versions, one that calls into the Markdown library and one that just does simple line wrapping if comments are too long -- it will not combine short lines together the way Markdown would.
To do:
[ ] Identify edge cases & write many tests.
[ ] Measure the performance impact.
[ ] Clean up the code.
[ ] Consider if we want to format block comments (options for block comment style?)
Rough initial implementation of line wrapping comments (
.line
and.docLine
). Encountered an issue that line comments were not being merged even though there was code to do it, because that code was being thwarted by soft breaks. Wrote two versions, one that calls into the Markdown library and one that just does simple line wrapping if comments are too long -- it will not combine short lines together the way Markdown would.To do: