mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-23 13:31:49 +00:00
Issue the math space dialog (not the text one) when in math (bug 7746).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39536 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
1bc43396fe
commit
6a3ff009db
@ -395,7 +395,7 @@ Menuset
|
|||||||
Item "Interword Space|w" "space-insert normal"
|
Item "Interword Space|w" "space-insert normal"
|
||||||
Item "Visible Space|i" "space-insert visible"
|
Item "Visible Space|i" "space-insert visible"
|
||||||
Item "Thin Space|T" "space-insert thin"
|
Item "Thin Space|T" "space-insert thin"
|
||||||
Item "Horizontal Space...|o" "dialog-show-new-inset space"
|
Item "Horizontal Space...|o" "command-alternatives dialog-show-new-inset space;dialog-show-new-inset mathspace"
|
||||||
Item "Horizontal Line...|L" "dialog-show-new-inset line"
|
Item "Horizontal Line...|L" "dialog-show-new-inset line"
|
||||||
Item "Vertical Space...|V" "dialog-show-new-inset vspace"
|
Item "Vertical Space...|V" "dialog-show-new-inset vspace"
|
||||||
Submenu "Phantom|m" "insert_phantom"
|
Submenu "Phantom|m" "insert_phantom"
|
||||||
|
@ -332,6 +332,11 @@ bool decodeInsetParam(string const & name, string & data,
|
|||||||
data = InsetGraphics::params2string(p, buffer);
|
data = InsetGraphics::params2string(p, buffer);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
case MATH_SPACE_CODE: {
|
||||||
|
InsetSpaceParams p(true);
|
||||||
|
data = InsetSpace::params2string(p);
|
||||||
|
break;
|
||||||
|
}
|
||||||
case NOTE_CODE: {
|
case NOTE_CODE: {
|
||||||
InsetNoteParams p;
|
InsetNoteParams p;
|
||||||
data = InsetNote::params2string(p);
|
data = InsetNote::params2string(p);
|
||||||
|
@ -1390,6 +1390,14 @@ bool InsetMathNest::getStatus(Cursor & cur, FuncRequest const & cmd,
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
case LFUN_DIALOG_SHOW_NEW_INSET: {
|
||||||
|
docstring const & name = cmd.argument();
|
||||||
|
if (name == "space")
|
||||||
|
flag.setEnabled(false);
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
case LFUN_MATH_DELIM:
|
case LFUN_MATH_DELIM:
|
||||||
case LFUN_MATH_BIGDELIM:
|
case LFUN_MATH_BIGDELIM:
|
||||||
// Don't do this with multi-cell selections
|
// Don't do this with multi-cell selections
|
||||||
|
Loading…
Reference in New Issue
Block a user