Delete LFUN_MATH_IMPORT_SELECTION.

This lfun is just duplicate of LFUN_MATH_MODE now.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25296 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Pavel Sanda 2008-06-17 19:44:10 +00:00
parent 5dd5d98473
commit faa41bfdf2
3 changed files with 2 additions and 5 deletions

View File

@ -162,7 +162,6 @@ enum FuncCode
LFUN_MATH_EXTERN, // Andre' 20010424
LFUN_MATH_MUTATE, // Andre' 20010523
// 110
LFUN_MATH_IMPORT_SELECTION, // Andre' 20010704
LFUN_MATH_SPACE, // Andre' 20010725
LFUN_WORD_DELETE_FORWARD,
LFUN_WORD_DELETE_BACKWARD,

View File

@ -1397,7 +1397,6 @@ void LyXAction::init()
* \endvar
*/
{ LFUN_MATH_SPACE, "math-space", Noop, Math },
{ LFUN_MATH_IMPORT_SELECTION, "math-import-selection", Noop, Math },
/*!
* \var lyx::FuncCode lyx::LFUN_MATH_MATRIX
* \li Action: Inserts a matrix.
@ -1414,7 +1413,8 @@ void LyXAction::init()
* \li Action: In text mode enters math mode (i.e. puts math insets on the current
cursor position), in math mode enters text mode inside math expression.
* \li Notion: If there is some selected text, it puts the text inside created math box.
* \li Syntax: math-mode
* \li Syntax: math-mode [<ARG>]
* \li Params: <ARG>: eventual argument (LaTeX code) is passed to #LFUN_MATH_INSERT .
* \li Origin: Alejandro, 4 Jun 1996
* \endvar
*/

View File

@ -1467,7 +1467,6 @@ void Text::dispatch(Cursor & cur, FuncRequest & cmd)
mathDispatch(cur, cmd, true);
break;
case LFUN_MATH_IMPORT_SELECTION:
case LFUN_MATH_MODE:
if (cmd.argument() == "on")
// don't pass "on" as argument
@ -2194,7 +2193,6 @@ bool Text::getStatus(Cursor & cur, FuncRequest const & cmd,
case LFUN_LINE_INSERT:
case LFUN_NEWPAGE_INSERT:
case LFUN_MATH_DISPLAY:
case LFUN_MATH_IMPORT_SELECTION:
case LFUN_MATH_MODE:
case LFUN_MATH_MACRO:
case LFUN_MATH_MATRIX: