Function Dune::XT::Common::highlight_template

std::string Dune::XT::Common::highlight_template(std::string str, size_t maxlevel = 10000)

Highlights templates depending on the “template”-level.

:param str: The string containing the template string :param maxlevel: The maximal template-level the string is reduced to. :returns: A colored template string.