\hat & subscript

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2742 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
André Pönitz 2001-09-12 13:23:39 +00:00
parent 3367b31201
commit d9738adfd7
2 changed files with 6 additions and 2 deletions

View File

@ -1215,7 +1215,7 @@ void MathCursor::interpret(string const & s)
if (s == "\\over" || s == "\\choose" || s == "\\atop") {
MathArray ar = array();
MathInset * p = createMathInset(in_word_set(s.substr(1)));
MathInset * p = createMathInset(s.substr(1));
p->cell(0).swap(array());
pos() = 0;
niceInsert(p);

View File

@ -30,7 +30,11 @@ bool MathDecorationInset::upper() const
bool MathDecorationInset::isScriptable() const
{
return true;
return
name_ == "overbrace" ||
name_ == "underbrace" ||
name_ == "overleftarrow" ||
name_ == "overrightarrow";
}