diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2016-02-11 04:25:00 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2016-02-11 04:25:00 +0200 |
commit | 471556a19e68b372155095c1b11aa568735fe867 (patch) | |
tree | 04c43a70758bf9299ac5f71f72b213c0354a1e88 /cli/source.cxx | |
parent | a89ee85a4b94a57e996a233c9d21679d1e1217a9 (diff) | |
download | cli-471556a19e68b372155095c1b11aa568735fe867.tar.gz cli-471556a19e68b372155095c1b11aa568735fe867.tar.xz cli-471556a19e68b372155095c1b11aa568735fe867.zip |
First part of TOC generation support (no links yet)
Currently only supported in the HTML output.
Diffstat (limited to 'cli/source.cxx')
-rw-r--r-- | cli/source.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/cli/source.cxx b/cli/source.cxx index 14a6a9a..57f5922 100644 --- a/cli/source.cxx +++ b/cli/source.cxx @@ -260,7 +260,7 @@ namespace if (n > 1 && options.ansi_color ()) translate_arg (ds[0], arg_set); - d = format (ds.scope (), ot_plain, translate (d, arg_set), true); + d = format (ds.scope (), translate (d, arg_set), true); if (d.empty ()) return; @@ -331,7 +331,7 @@ namespace s = translate_arg (s, arg_set); } - l += txt_size (format (o.scope (), ot_plain, s, false)); + l += txt_size (format (o.scope (), s, false)); } if (l > length_) @@ -422,7 +422,7 @@ namespace if (color) s = translate_arg (s, arg_set); - s = format (o.scope (), ot_plain, s, false); + s = format (o.scope (), s, false); os << escape_str (s); l += txt_size (s); @@ -458,7 +458,7 @@ namespace if (color) d = translate (d, arg_set); - d = format (o.scope (), ot_plain, d, false); + d = format (o.scope (), d, false); if (!d.empty ()) wrap_lines (os, d, length_ + 1, l); // +1 for extra space after arg. |