mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 21:21:32 +00:00
Remove LFUN_BIBITEM_INSERT.
The last GUI trace for using this lfuns is here: http://www.lyx.org/trac/changeset/9966 . http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg141812.html git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25588 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
16efece522
commit
a7a31dc392
@ -133,6 +133,7 @@ enum FuncCode
|
|||||||
LFUN_SERVER_GET_XY,
|
LFUN_SERVER_GET_XY,
|
||||||
// 85
|
// 85
|
||||||
LFUN_SERVER_SET_XY,
|
LFUN_SERVER_SET_XY,
|
||||||
|
LFUN_SPLIT_VIEW,
|
||||||
LFUN_LINEATCURSOR,
|
LFUN_LINEATCURSOR,
|
||||||
LFUN_SERVER_GET_LAYOUT,
|
LFUN_SERVER_GET_LAYOUT,
|
||||||
LFUN_SERVER_GET_FILENAME,
|
LFUN_SERVER_GET_FILENAME,
|
||||||
@ -287,7 +288,7 @@ enum FuncCode
|
|||||||
LFUN_ALL_CHANGES_ACCEPT, // Levon 20021016
|
LFUN_ALL_CHANGES_ACCEPT, // Levon 20021016
|
||||||
LFUN_ALL_CHANGES_REJECT, // Levon 20021016
|
LFUN_ALL_CHANGES_REJECT, // Levon 20021016
|
||||||
// 215
|
// 215
|
||||||
LFUN_BIBITEM_INSERT, // André 14 Feb 2003
|
LFUN_SCROLL,
|
||||||
LFUN_DIALOG_SHOW,
|
LFUN_DIALOG_SHOW,
|
||||||
LFUN_DIALOG_SHOW_NEW_INSET,
|
LFUN_DIALOG_SHOW_NEW_INSET,
|
||||||
LFUN_DIALOG_UPDATE,
|
LFUN_DIALOG_UPDATE,
|
||||||
@ -397,15 +398,12 @@ enum FuncCode
|
|||||||
// 305
|
// 305
|
||||||
LFUN_MATH_MACRO_ADD_GREEDY_OPTIONAL_PARAM,
|
LFUN_MATH_MACRO_ADD_GREEDY_OPTIONAL_PARAM,
|
||||||
LFUN_IN_MATHMACROTEMPLATE,
|
LFUN_IN_MATHMACROTEMPLATE,
|
||||||
LFUN_SCROLL,
|
|
||||||
LFUN_SPLIT_VIEW,
|
|
||||||
// 310
|
|
||||||
LFUN_COMPLETION_POPUP,
|
LFUN_COMPLETION_POPUP,
|
||||||
LFUN_COMPLETION_INLINE,
|
LFUN_COMPLETION_INLINE,
|
||||||
LFUN_COMPLETION_COMPLETE,
|
LFUN_COMPLETION_COMPLETE,
|
||||||
|
// 310
|
||||||
LFUN_GRAPHICS_GROUPS_UNIFY,
|
LFUN_GRAPHICS_GROUPS_UNIFY,
|
||||||
LFUN_SET_GRAPHICS_GROUP,
|
LFUN_SET_GRAPHICS_GROUP,
|
||||||
// 315
|
|
||||||
LFUN_LASTACTION // end of the table
|
LFUN_LASTACTION // end of the table
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -1197,7 +1197,6 @@ void LyXAction::init()
|
|||||||
*/
|
*/
|
||||||
{ LFUN_FONT_STATE, "font-state", ReadOnly, Layout },
|
{ LFUN_FONT_STATE, "font-state", ReadOnly, Layout },
|
||||||
|
|
||||||
{ LFUN_BIBITEM_INSERT, "bibitem-insert", Noop, Edit },
|
|
||||||
/*!
|
/*!
|
||||||
* \var lyx::FuncCode lyx::LFUN_CITATION_INSERT
|
* \var lyx::FuncCode lyx::LFUN_CITATION_INSERT
|
||||||
* \li Action: Inserts citation from loaded citation database.
|
* \li Action: Inserts citation from loaded citation database.
|
||||||
|
@ -1360,7 +1360,6 @@ void Text::dispatch(Cursor & cur, FuncRequest & cmd)
|
|||||||
case LFUN_FLEX_INSERT:
|
case LFUN_FLEX_INSERT:
|
||||||
case LFUN_BOX_INSERT:
|
case LFUN_BOX_INSERT:
|
||||||
case LFUN_BRANCH_INSERT:
|
case LFUN_BRANCH_INSERT:
|
||||||
case LFUN_BIBITEM_INSERT:
|
|
||||||
case LFUN_ERT_INSERT:
|
case LFUN_ERT_INSERT:
|
||||||
case LFUN_LISTING_INSERT:
|
case LFUN_LISTING_INSERT:
|
||||||
case LFUN_MARGINALNOTE_INSERT:
|
case LFUN_MARGINALNOTE_INSERT:
|
||||||
@ -1865,11 +1864,6 @@ bool Text::getStatus(Cursor & cur, FuncRequest const & cmd,
|
|||||||
flag.setOnOff(cur.paragraph().params().startOfAppendix());
|
flag.setOnOff(cur.paragraph().params().startOfAppendix());
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case LFUN_BIBITEM_INSERT:
|
|
||||||
enable = (cur.paragraph().layout().labeltype == LABEL_BIBLIO
|
|
||||||
&& cur.pos() == 0);
|
|
||||||
break;
|
|
||||||
|
|
||||||
case LFUN_DIALOG_SHOW_NEW_INSET:
|
case LFUN_DIALOG_SHOW_NEW_INSET:
|
||||||
if (cmd.argument() == "bibitem")
|
if (cmd.argument() == "bibitem")
|
||||||
code = BIBITEM_CODE;
|
code = BIBITEM_CODE;
|
||||||
|
@ -141,9 +141,6 @@ Inset * createInsetHelper(Buffer & buf, FuncRequest const & cmd)
|
|||||||
case LFUN_OPTIONAL_INSERT:
|
case LFUN_OPTIONAL_INSERT:
|
||||||
return new InsetOptArg(buf);
|
return new InsetOptArg(buf);
|
||||||
|
|
||||||
case LFUN_BIBITEM_INSERT:
|
|
||||||
return new InsetBibitem(buf, InsetCommandParams(BIBITEM_CODE));
|
|
||||||
|
|
||||||
case LFUN_FLOAT_INSERT: {
|
case LFUN_FLOAT_INSERT: {
|
||||||
// check if the float type exists
|
// check if the float type exists
|
||||||
string const argument = to_utf8(cmd.argument());
|
string const argument = to_utf8(cmd.argument());
|
||||||
|
@ -647,7 +647,6 @@ bool InsetCollapsable::getStatus(Cursor & cur, FuncRequest const & cmd,
|
|||||||
case LFUN_ACCENT_UNDERBAR:
|
case LFUN_ACCENT_UNDERBAR:
|
||||||
case LFUN_ACCENT_UNDERDOT:
|
case LFUN_ACCENT_UNDERDOT:
|
||||||
case LFUN_APPENDIX:
|
case LFUN_APPENDIX:
|
||||||
case LFUN_BIBITEM_INSERT:
|
|
||||||
case LFUN_BOX_INSERT:
|
case LFUN_BOX_INSERT:
|
||||||
case LFUN_BRANCH_INSERT:
|
case LFUN_BRANCH_INSERT:
|
||||||
case LFUN_NEWLINE_INSERT:
|
case LFUN_NEWLINE_INSERT:
|
||||||
|
Loading…
Reference in New Issue
Block a user