mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 21:21:32 +00:00
Ressurect LFUN_MATH_SIZE, set toolbars accordingly.
http://thread.gmane.org/gmane.editors.lyx.devel/108469 git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25250 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
5e603f5703
commit
cb5ce8348b
@ -285,10 +285,10 @@ ToolbarSet
|
|||||||
End
|
End
|
||||||
|
|
||||||
Toolbar "style" "Styles"
|
Toolbar "style" "Styles"
|
||||||
Item "Display style \\displaystyle" "math-insert \displaystyle"
|
Item "Display style \\displaystyle" "math-size \displaystyle"
|
||||||
Item "Normal text style \\textstyle" "math-insert \textstyle"
|
Item "Normal text style \\textstyle" "math-size \textstyle"
|
||||||
Item "Script (small) style \\scriptstyle" "math-insert \scriptstyle"
|
Item "Script (small) style \\scriptstyle" "math-size \scriptstyle"
|
||||||
Item "Scriptscript (smaller) style \\scriptscriptstyle" "math-insert \scriptscriptstyle"
|
Item "Scriptscript (smaller) style \\scriptscriptstyle" "math-size \scriptscriptstyle"
|
||||||
End
|
End
|
||||||
|
|
||||||
Toolbar "frac-square" "Fractions"
|
Toolbar "frac-square" "Fractions"
|
||||||
|
@ -960,12 +960,11 @@ void InsetMathNest::doDispatch(Cursor & cur, FuncRequest & cmd)
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
case LFUN_MATH_SIZE:
|
case LFUN_MATH_SIZE: {
|
||||||
#if 0
|
FuncRequest fr = FuncRequest(LFUN_MATH_INSERT, cmd.argument());
|
||||||
cur.recordUndoSelection();
|
doDispatch(cur, fr);
|
||||||
cur.setSize(arg);
|
|
||||||
#endif
|
|
||||||
break;
|
break;
|
||||||
|
}
|
||||||
|
|
||||||
case LFUN_MATH_MATRIX: {
|
case LFUN_MATH_MATRIX: {
|
||||||
cur.recordUndo();
|
cur.recordUndo();
|
||||||
|
Loading…
Reference in New Issue
Block a user