+
+2005-03-22 Martin Vermeer <martin.vermeer@hut.fi>
+
+ * math_hullinset.C (getStatus): intercept and suppress the
+ adding of grid lines in case of a plain equation hull
+
2005-03-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
* math_nestinset.C (doDispatch): create a MathBoxInset for mbox
flag.enabled(false);
return true;
}
+ if ((type_ == "simple"
+ || type_ == "equation"
+ || type_ == "none") &&
+ (s == "add-hline-above" || s == "add-hline-below" ||
+ s == "add-vline-left" || s == "add-vline-right")) {
+ flag.message(bformat(
+ N_("Can't add grid lines in '%1$s'"),
+ type_));
+ flag.enabled(false);
+ return true;
+ }
return MathGridInset::getStatus(cur, cmd, flag);
}
default: