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
End
Toolbar "style" "Styles"
- Item "Display style \\displaystyle" "math-insert \displaystyle"
- Item "Normal text style \\textstyle" "math-insert \textstyle"
- Item "Script (small) style \\scriptstyle" "math-insert \scriptstyle"
- Item "Scriptscript (smaller) style \\scriptscriptstyle" "math-insert \scriptscriptstyle"
+ Item "Display style \\displaystyle" "math-size \displaystyle"
+ Item "Normal text style \\textstyle" "math-size \textstyle"
+ Item "Script (small) style \\scriptstyle" "math-size \scriptstyle"
+ Item "Scriptscript (smaller) style \\scriptscriptstyle" "math-size \scriptscriptstyle"
End
Toolbar "frac-square" "Fractions"
break;
}
- case LFUN_MATH_SIZE:
-#if 0
- cur.recordUndoSelection();
- cur.setSize(arg);
-#endif
+ case LFUN_MATH_SIZE: {
+ FuncRequest fr = FuncRequest(LFUN_MATH_INSERT, cmd.argument());
+ doDispatch(cur, fr);
break;
+ }
case LFUN_MATH_MATRIX: {
cur.recordUndo();