- status.16x: some updates and whitespace fixes

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28827 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Uwe Stöhr 2009-03-17 00:38:23 +00:00
parent 1f5ee3652a
commit 7b12d8bbb6
2 changed files with 23 additions and 7 deletions

View File

@ -72,12 +72,14 @@ void InsetMathCases::doDispatch(Cursor & cur, FuncRequest & cmd)
//lyxerr << "*** InsetMathCases: request: " << cmd << endl;
switch (cmd.action) {
case LFUN_TABULAR_FEATURE: {
cur.recordUndo();
docstring const & s = cmd.argument();
if (s == "add-vline-left" || s == "add-vline-right") {
// vertical lines and adding/deleting columns is not allowed for \cases
if (s == "append-column" || s == "delete-column"
|| s == "add-vline-left" || s == "add-vline-right") {
cur.undispatched();
break;
}
cur.recordUndo();
}
default:
InsetMathGrid::doDispatch(cur, cmd);
@ -98,6 +100,14 @@ bool InsetMathCases::getStatus(Cursor & cur, FuncRequest const & cmd,
s));
return true;
}
if (s == "append-column" || s == "delete-column") {
flag.setEnabled(false);
flag.message(bformat(
from_utf8(N_("Changing number of columns not allowed in\
'cases': feature %1$s")),
s));
return true;
}
}
default:
return InsetMathGrid::getStatus(cur, cmd, flag);

View File

@ -26,6 +26,8 @@ What's new
- New Indonesian localization of the user interface.
- Updated English Extended manual.
* DOCUMENT INPUT/OUTPUT
@ -40,7 +42,8 @@ What's new
- Added locking capabilities for SVN version control support.
Read Extended manual for details.
* WINDOWS INSTALLER
@ -56,7 +59,7 @@ What's new
- Fix LaTeX export of an isolated Japanese character when using
ISO-2022-JP encoding (bug 5802).
- Fix conversion of the lilypond external inset with lilypond >= 2.11.x
(bug 5834).
@ -85,16 +88,19 @@ What's new
- Do not close the math delimiters dialog when selecting a delimiter
without "match" being chosen (bug 5789).
- Ensure that in various dialogs the OK button is the default when both
the OK and Cancel buttons are enabled (bug 5695).
- Do not create a new document when cancel is pressed in the "new from
template" dialog (bug 5848).
- Close the correct document when the close tab button is pressed while
the cursor is in another tabgroup (with split-screen) (bug 5819).
- Accidentally adding more than two rows for cases environments in
formulas is no longer possible (bug 4141).
* DOCUMENTATION AND LOCALIZATION