aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/sdp/ao_defaults.d
diff options
context:
space:
mode:
Diffstat (limited to 'src/sdp/ao_defaults.d')
-rw-r--r--src/sdp/ao_defaults.d38
1 files changed, 38 insertions, 0 deletions
diff --git a/src/sdp/ao_defaults.d b/src/sdp/ao_defaults.d
index 3255c99..d8c1e24 100644
--- a/src/sdp/ao_defaults.d
+++ b/src/sdp/ao_defaults.d
@@ -386,5 +386,43 @@ template InternalMarkup() {
struct InlineMarkup {
auto en_a_o = "【"; auto en_a_c = "】";
auto en_b_o = "〖"; auto en_b_c = "〗";
+ string _indent_spaces ="";
+ string indent_by_spaces_provided(int indent) {
+ switch (indent) {
+ case 0:
+ _indent_spaces = "";
+ break;
+ case 1:
+ _indent_spaces = " ";
+ break;
+ case 2:
+ _indent_spaces = " ";
+ break;
+ case 3:
+ _indent_spaces = " ";
+ break;
+ case 4:
+ _indent_spaces = " ";
+ break;
+ case 5:
+ _indent_spaces = " ";
+ break;
+ case 6:
+ _indent_spaces = " ";
+ break;
+ case 7:
+ _indent_spaces = " ";
+ break;
+ case 8:
+ _indent_spaces = " ";
+ break;
+ case 9:
+ _indent_spaces = " ";
+ break;
+ default:
+ break;
+ }
+ return _indent_spaces;
+ }
}
}