mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-29 21:05:12 +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
|
||||
* Purpose: Implementation of formula inset
|
||||
* File: formulabase.C
|
||||
* Purpose: Implementation of common parts of the LyX math insets
|
||||
* Author: Alejandro Aguilar Sierra <asierra@servidor.unam.mx>
|
||||
* Created: January 1996
|
||||
* Description: Allows the edition of math paragraphs inside Lyx.
|
||||
*
|
||||
* Copyright: 1996-1998 Alejandro Aguilar Sierra
|
||||
*
|
||||
@ -692,8 +691,7 @@ InsetFormulaBase::localDispatch(BufferView * bv, kb_action action,
|
||||
break;
|
||||
|
||||
default:
|
||||
lyxerr << "Closed by action " << action << endl;
|
||||
result = FINISHED_RIGHT;
|
||||
result = UNDISPATCHED;
|
||||
}
|
||||
|
||||
//mathcursor->normalize();
|
||||
|
@ -1273,6 +1273,7 @@ void MathCursor::interpret(string const & s)
|
||||
|
||||
if (lastcode_ != LM_TC_TEX && strchr("#$%{}", c)) {
|
||||
insert(new MathSpecialCharInset(c));
|
||||
lastcode_ = LM_TC_VAR;
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -776,9 +776,6 @@ void Parser::parse_into(MathArray & array, unsigned flags, MathTextCodes code)
|
||||
break;
|
||||
}
|
||||
|
||||
else LM_TK_SPECIAL:
|
||||
array.push_back(new MathCharInset(ival_, LM_TC_TEX));
|
||||
break;
|
||||
*/
|
||||
|
||||
else if (t.cs() == "begin") {
|
||||
|
Loading…
Reference in New Issue
Block a user