diff options
Diffstat (limited to 'org/ao_output_debugs.org')
-rw-r--r-- | org/ao_output_debugs.org | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/org/ao_output_debugs.org b/org/ao_output_debugs.org index 07a4dfe..7a7a8c7 100644 --- a/org/ao_output_debugs.org +++ b/org/ao_output_debugs.org @@ -737,7 +737,7 @@ debug(summary) { ]; #+END_SRC -*** (checkdoc) :checkdoc: +*** (last ocn) :checkdoc: #+name: ao_output_debugs_summary_doc #+BEGIN_SRC d @@ -758,13 +758,18 @@ if ((doc_matters.opt_action_bool["verbose"])) { #+name: ao_output_debugs_summary_doc #+BEGIN_SRC d +auto min_repeat_number = 66; +auto char_repeat_number = (doc_matters.dochead_meta["title"]["full"].length + doc_matters.dochead_meta["creator"]["author"].length + 4); +char_repeat_number = (char_repeat_number > min_repeat_number) +? char_repeat_number +: min_repeat_number; writefln( - "%s\n\"%s\", %s\n%s\n%s\n%s%10d\n%s%10d\n%s%10d\n%s%10d\n%s%10d\n%s%10d\n%s%10d\n%s%10d\n(%s: %s)", - "---------------------------------", + "%s\n\"%s\", %s\n%s\n%s\n%s%10d\n%s%10d\n%s%10d\n%s%10d\n%s%10d\n%s%10d\n%s%10d\n%s%10d\n(%s: %s)\n%s", + markup.repeat_character_by_number_provided("-", char_repeat_number), doc_matters.dochead_meta["title"]["full"], doc_matters.dochead_meta["creator"]["author"], doc_matters.source_filename, - "---------------------------------", + markup.repeat_character_by_number_provided("-", char_repeat_number), "length toc array: ", to!int(contents["toc_seg"].length), "length contents array: ", @@ -793,6 +798,7 @@ writefln( : 0, __FILE__, __LINE__, + markup.repeat_character_by_number_provided("-", min_repeat_number), ); #+END_SRC |