## 2021 10 29.04
+ - Two new flags have been added to provide finer vertical alignment control,
+ --valign-exclusion-list=s (-vxl=s) and --valign-inclusion-list=s (-vil=s).
+ This has been requested several times, recently in git #79.
+
- A new flag -gal=s, --grep-alias-list=s, has been added as suggested in
git #77. This allows code blocks passed to list operator functions to
be formatted in the same way as a code block passed to grep, map, or sort.
#13 git74.git74
#14 git77.def
#15 git77.git77
+#16 vxl.def
+#17 vxl.vxl1
+#18 vxl.vxl2
# To locate test #13 you can search for its name or the string '#13'
'novalign2' => "-nvsc -nvbc -msc=2",
'novalign3' => "-nvc",
'rt140025' => "-lp -xci -ci=4 -ce",
- 'xlp1' => "-xlp",
+ 'vxl1' => <<'----------',
+-vxl='='
+----------
+ 'vxl2' => <<'----------',
+-vxl='*' -vil='='
+----------
+ 'xlp1' => "-xlp",
};
############################
}
}
};
+----------
+
+ 'vxl' => <<'----------',
+# if equals is excluded then ternary is automatically excluded
+# side comment alignments always remain
+$co_description = ($color) ? 'bold cyan' : ''; # description
+$co_prompt = ($color) ? 'bold green' : ''; # prompt
+$co_unused = ($color) ? 'on_green' : 'reverse'; # unused
----------
'xlp1' => <<'----------',
};
#15...........
},
+
+ 'vxl.def' => {
+ source => "vxl",
+ params => "def",
+ expect => <<'#16...........',
+# if equals is excluded then ternary is automatically excluded
+# side comment alignments always remain
+$co_description = ($color) ? 'bold cyan' : ''; # description
+$co_prompt = ($color) ? 'bold green' : ''; # prompt
+$co_unused = ($color) ? 'on_green' : 'reverse'; # unused
+#16...........
+ },
+
+ 'vxl.vxl1' => {
+ source => "vxl",
+ params => "vxl1",
+ expect => <<'#17...........',
+# if equals is excluded then ternary is automatically excluded
+# side comment alignments always remain
+$co_description = ($color) ? 'bold cyan' : ''; # description
+$co_prompt = ($color) ? 'bold green' : ''; # prompt
+$co_unused = ($color) ? 'on_green' : 'reverse'; # unused
+#17...........
+ },
+
+ 'vxl.vxl2' => {
+ source => "vxl",
+ params => "vxl2",
+ expect => <<'#18...........',
+# if equals is excluded then ternary is automatically excluded
+# side comment alignments always remain
+$co_description = ($color) ? 'bold cyan' : ''; # description
+$co_prompt = ($color) ? 'bold green' : ''; # prompt
+$co_unused = ($color) ? 'on_green' : 'reverse'; # unused
+#18...........
+ },
};
my $ntests = 0 + keys %{$rtests};