]> git.lyx.org Git - features.git/commit
Fix bug 3034
authorGeorg Baum <Georg.Baum@post.rwth-aachen.de>
Tue, 19 Dec 2006 14:24:25 +0000 (14:24 +0000)
committerGeorg Baum <Georg.Baum@post.rwth-aachen.de>
Tue, 19 Dec 2006 14:24:25 +0000 (14:24 +0000)
commit1ca55d1c8f1bc16d80db26d287ecf6f1a8e51aee
treee7efc69e7551acdb2b25caf8c7176c32d70536fc
parent47adc642a3dd142372760ef6208648815e386b6d
Fix bug 3034

* src/mathed/InsetMathGrid.C: Don't declare mathed_parse_normal,
include MathParser.h instead
(InsetMathGrid::doDispatch): remove to_utf8, mathed_parse_normal
takes now a docstring

* src/mathed/MathMacroTemplate.C
(MathMacroTemplate::read): restore the version of 1.4.x, since
the new one did only work for macros without whitespace

* src/mathed/MathParser.[Ch]
(Parser): Add constructor from a docstring
(mathed_parse_cell): Create the parser directly from the string,
since the istream variant of tokenize() does only work if reading
from the .lyx file
(mathed_parse_normal): ditto
(mathed_parse_normal): Delete the istream variant (unused)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16334 a592a061-630c-0410-9148-cb99ea01b6c8
Status.15x
src/mathed/InsetMathGrid.C
src/mathed/MathMacroTemplate.C
src/mathed/MathParser.C
src/mathed/MathParser.h