enhancement
(User-visible)
It should be possible to display a macro element (see tl.model.search:Macro) as a GUI element.
Test
TestMacroAttribute.script.xml uses the macro element. Unfortunately, the output is “only” HTML, so no assertions can be created to verify the correctness of the macro.