fix table bugs 939 and 1036

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6772 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
John Levon 2003-04-10 20:56:16 +00:00
parent b572c6ca4c
commit c951809efd
3 changed files with 17 additions and 3 deletions

View File

@ -1,3 +1,8 @@
2003-04-10 John Levon <levon@movementarian.org>
* ControlTabular.h:
* ControlTabular.C: add longTabular() etc.
2003-04-10 John Levon <levon@movementarian.org>
* ControlMath.C (find_xpm): handle math_delim arguments

View File

@ -1,3 +1,11 @@
2003-04-10 John Levon <levon@movementarian.org>
* insettabular.C (tabularFeature): make sure
to update the dialog when we change something
(bug 1036).
(getStatus): don't disable some lfuns (bug 939)
2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
* insettext.C (saveLyXTextState): adjust

View File

@ -2006,7 +2006,7 @@ void InsetTabular::tabularFeatures(BufferView * bv,
tabular->SetMultiColumn(bv->buffer(), actcell, 1);
updateLocal(bv, CELL);
}
return;
break;
}
// we have a selection so this means we just add all this
// cells to form a multicolumn cell
@ -2111,6 +2111,9 @@ void InsetTabular::tabularFeatures(BufferView * bv,
case LyXTabular::LAST_ACTION:
break;
}
InsetTabularMailer mailer(*this);
mailer.updateDialog(bv);
}
@ -2291,8 +2294,6 @@ FuncStatus InsetTabular::getStatus(string const & what) const
case LyXTabular::SET_MPWIDTH:
case LyXTabular::SET_SPECIAL_COLUMN:
case LyXTabular::SET_SPECIAL_MULTI:
return status.disabled(true);
case LyXTabular::APPEND_ROW:
case LyXTabular::APPEND_COLUMN:
case LyXTabular::DELETE_ROW: