mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-23 05:25:26 +00:00
Do not remove braces for {<expr>}^
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6157 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
5d8eaff14f
commit
79c6a1b810
@ -1,3 +1,6 @@
|
|||||||
|
2003-02-14 Dekel Tsur <dekelts@tau.ac.il>
|
||||||
|
|
||||||
|
* math_parser.C (parse1): Do not remove braces for {<expr>}^
|
||||||
|
|
||||||
2003-02-13 Bo Peng <bpeng@rice.edu>
|
2003-02-13 Bo Peng <bpeng@rice.edu>
|
||||||
|
|
||||||
|
@ -746,9 +746,10 @@ void Parser::parse1(MathGridInset & grid, unsigned flags,
|
|||||||
MathScriptInset * p = cell->back().nucleus()->asScriptInset();
|
MathScriptInset * p = cell->back().nucleus()->asScriptInset();
|
||||||
// special handling of {}-bases
|
// special handling of {}-bases
|
||||||
// is this always correct?
|
// is this always correct?
|
||||||
if (p->nuc().size() == 1 && p->nuc().back()->asNestInset() &&
|
// It appears that this is wrong (Dekel)
|
||||||
p->nuc().back()->extraBraces())
|
//if (p->nuc().size() == 1 && p->nuc().back()->asNestInset() &&
|
||||||
p->nuc() = p->nuc().back()->asNestInset()->cell(0);
|
// p->nuc().back()->extraBraces())
|
||||||
|
// p->nuc() = p->nuc().back()->asNestInset()->cell(0);
|
||||||
parse(p->cell(up), FLAG_ITEM, mode);
|
parse(p->cell(up), FLAG_ITEM, mode);
|
||||||
if (limits) {
|
if (limits) {
|
||||||
p->limits(limits);
|
p->limits(limits);
|
||||||
|
Loading…
Reference in New Issue
Block a user