mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-23 05:25:26 +00:00
fix LFUN_MATH_MODE
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9403 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
a839021d22
commit
e3ff1652a1
@ -1,3 +1,7 @@
|
|||||||
|
2004-12-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
|
||||||
|
|
||||||
|
* text3.C: fix LFUN_MATH_MODE.
|
||||||
|
|
||||||
2004-12-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
|
2004-12-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
|
||||||
|
|
||||||
* buffer_funcs.C (countWords): new function. Counts words between
|
* buffer_funcs.C (countWords): new function. Counts words between
|
||||||
|
@ -1318,7 +1318,11 @@ void LyXText::dispatch(LCursor & cur, FuncRequest & cmd)
|
|||||||
|
|
||||||
case LFUN_MATH_IMPORT_SELECTION:
|
case LFUN_MATH_IMPORT_SELECTION:
|
||||||
case LFUN_MATH_MODE:
|
case LFUN_MATH_MODE:
|
||||||
mathDispatch(cur, cmd, false);
|
if (cmd.argument == "on")
|
||||||
|
// don't pass "on" as argument
|
||||||
|
mathDispatch(cur, FuncRequest(LFUN_MATH_MODE), false);
|
||||||
|
else
|
||||||
|
mathDispatch(cur, cmd, false);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case LFUN_MATH_MACRO:
|
case LFUN_MATH_MACRO:
|
||||||
|
Loading…
Reference in New Issue
Block a user