/* new lines not after a punctuation are removed */
builder.replace(match, " ");
}
}
builder.replacePattern(" +", " ");
final Collection<String> lines = builder.split("\n");
builder.clear().appendln(commentStart);
int max = maxLineLengh - leading.length();
for (CharSequence line : lines) {
if (line.length() <= max) {
// short line, just append the leading txt and the line itself