mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-26 11:16:55 +00:00
Return UNDISPATCHED instead of FINISHED in the default branch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2757 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
0fa2f8db17
commit
a4dab932ac
@ -1,9 +1,8 @@
|
|||||||
/*
|
/*
|
||||||
* File: formula.C
|
* File: formulabase.C
|
||||||
* Purpose: Implementation of formula inset
|
* Purpose: Implementation of common parts of the LyX math insets
|
||||||
* Author: Alejandro Aguilar Sierra <asierra@servidor.unam.mx>
|
* Author: Alejandro Aguilar Sierra <asierra@servidor.unam.mx>
|
||||||
* Created: January 1996
|
* Created: January 1996
|
||||||
* Description: Allows the edition of math paragraphs inside Lyx.
|
|
||||||
*
|
*
|
||||||
* Copyright: 1996-1998 Alejandro Aguilar Sierra
|
* Copyright: 1996-1998 Alejandro Aguilar Sierra
|
||||||
*
|
*
|
||||||
@ -692,8 +691,7 @@ InsetFormulaBase::localDispatch(BufferView * bv, kb_action action,
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
lyxerr << "Closed by action " << action << endl;
|
result = UNDISPATCHED;
|
||||||
result = FINISHED_RIGHT;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
//mathcursor->normalize();
|
//mathcursor->normalize();
|
||||||
|
@ -1273,6 +1273,7 @@ void MathCursor::interpret(string const & s)
|
|||||||
|
|
||||||
if (lastcode_ != LM_TC_TEX && strchr("#$%{}", c)) {
|
if (lastcode_ != LM_TC_TEX && strchr("#$%{}", c)) {
|
||||||
insert(new MathSpecialCharInset(c));
|
insert(new MathSpecialCharInset(c));
|
||||||
|
lastcode_ = LM_TC_VAR;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -776,9 +776,6 @@ void Parser::parse_into(MathArray & array, unsigned flags, MathTextCodes code)
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
else LM_TK_SPECIAL:
|
|
||||||
array.push_back(new MathCharInset(ival_, LM_TC_TEX));
|
|
||||||
break;
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
else if (t.cs() == "begin") {
|
else if (t.cs() == "begin") {
|
||||||
|
Loading…
Reference in New Issue
Block a user