The old name conflicted with the newly introduced Inset::isTable.
Now the meaning is as follows.
* Inset::isTable() is true when the inset is composed of lines and columns
* InsetMathHull::allowsTabularFeatures is true when the current type of hull allows for tabular-like functions.
(cherry picked from commit
db39dc7ccd4c2dd14ef20547e6e3c056ba030d83)
}
-bool InsetMathHull::isTable() const
+bool InsetMathHull::allowsTabularFeatures() const
{
switch (type_) {
case hullEqnArray:
}
case LFUN_TABULAR_FEATURE:
- if (!isTable())
+ if (!allowsTabularFeatures())
cur.undispatched();
else
InsetMathGrid::doDispatch(cur, cmd);
return InsetMathGrid::getStatus(cur, cmd, status);
case LFUN_TABULAR_FEATURE: {
- if (!isTable())
+ if (!allowsTabularFeatures())
return false;
string s = cmd.getArg(0);
if (!rowChangeOK()
/// consistency check
void check() const;
/// does it understand tabular-feature commands?
- bool isTable() const;
+ bool allowsTabularFeatures() const;
/// can this change its number of rows?
bool rowChangeOK() const;
/// can this change its number of cols?