Added message_comment_width config option

This commit is contained in:
Bartek Kryza
2023-10-16 22:10:44 +02:00
parent 1616f79ceb
commit dd940991dc
5 changed files with 9 additions and 1 deletions

View File

@@ -289,7 +289,9 @@ void generator::generate_message_comment(
ostr << "note over " << generate_alias(from.value()) << '\n';
ostr << util::format_message_comment(m.comment().value()) << '\n';
ostr << util::format_message_comment(
m.comment().value(), config().message_comment_width())
<< '\n';
ostr << "end note" << '\n';
}