mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-14 12:25:11 +00:00
From Stephan: do not allow insert of label for inlined eq
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10210 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
a46bc98efd
commit
eec58249c4
@ -1,3 +1,7 @@
|
|||||||
|
2005-07-15 Stephan Witt <stephan.witt@beusen.de>
|
||||||
|
|
||||||
|
* math_hullinset.C (getStatus): don't allow insert of label for
|
||||||
|
inlined eq
|
||||||
|
|
||||||
2005-07-15 André Pönitz <poenitz@lyx.org>
|
2005-07-15 André Pönitz <poenitz@lyx.org>
|
||||||
|
|
||||||
@ -10,7 +14,7 @@
|
|||||||
2005-07-14 André Pönitz <poenitz@lyx.org>
|
2005-07-14 André Pönitz <poenitz@lyx.org>
|
||||||
|
|
||||||
* math_hullinset.C (BREAKLINE): choose between eqnarray and
|
* math_hullinset.C (BREAKLINE): choose between eqnarray and
|
||||||
align according to user preference
|
align according to user preference
|
||||||
|
|
||||||
2005-07-14 André Pönitz <poenitz@lyx.org>
|
2005-07-14 André Pönitz <poenitz@lyx.org>
|
||||||
|
|
||||||
|
@ -1105,13 +1105,15 @@ bool MathHullInset::getStatus(LCursor & cur, FuncRequest const & cmd,
|
|||||||
case LFUN_BREAKLINE:
|
case LFUN_BREAKLINE:
|
||||||
case LFUN_MATH_NUMBER:
|
case LFUN_MATH_NUMBER:
|
||||||
case LFUN_MATH_NONUMBER:
|
case LFUN_MATH_NONUMBER:
|
||||||
case LFUN_INSERT_LABEL:
|
|
||||||
case LFUN_MATH_EXTERN:
|
case LFUN_MATH_EXTERN:
|
||||||
case LFUN_MATH_MUTATE:
|
case LFUN_MATH_MUTATE:
|
||||||
case LFUN_MATH_DISPLAY:
|
case LFUN_MATH_DISPLAY:
|
||||||
// we handle these
|
// we handle these
|
||||||
flag.enabled(true);
|
flag.enabled(true);
|
||||||
return true;
|
return true;
|
||||||
|
case LFUN_INSERT_LABEL:
|
||||||
|
flag.enabled(type_ != "simple");
|
||||||
|
return true;
|
||||||
case LFUN_TABULAR_FEATURE: {
|
case LFUN_TABULAR_FEATURE: {
|
||||||
istringstream is(cmd.argument);
|
istringstream is(cmd.argument);
|
||||||
string s;
|
string s;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user