#include <ostream>
using namespace std;
+using namespace lyx::support;
namespace lyx {
-using support::bformat;
-
InsetMathCases::InsetMathCases(row_type n)
: InsetMathGrid(2, n, 'c', from_ascii("ll"))
case LFUN_TABULAR_FEATURE: {
docstring const & s = cmd.argument();
if (s == "add-vline-left" || s == "add-vline-right") {
- flag.enabled(false);
+ flag.setEnabled(false);
flag.message(bformat(
from_utf8(N_("No vertical grid lines in 'cases': feature %1$s")),
s));
void InsetMathCases::write(WriteStream & os) const
{
+ MathEnsurer ensurer(os);
if (os.fragile())
os << "\\protect";
os << "\\begin{cases}\n";