]> git.lyx.org Git - features.git/commitdiff
Delete LFUN_MATH_IMPORT_SELECTION.
authorPavel Sanda <sanda@lyx.org>
Tue, 17 Jun 2008 19:44:10 +0000 (19:44 +0000)
committerPavel Sanda <sanda@lyx.org>
Tue, 17 Jun 2008 19:44:10 +0000 (19:44 +0000)
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

src/FuncCode.h
src/LyXAction.cpp
src/Text3.cpp

index 8540fb3d691dcbf4201412982b2a7f36f2714ed0..9af6daea29905e76dffc4b6e11b5aae3ec362d99 100644 (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,
index c6a36e99ae2291d93117e3fe007a17cc3789cf41..75c004849deb5cbfbd653ba09a5ced292176b24c 100644 (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
  */
index 6bd82c1b5540bd42a062c2aca78f01f170082942..fc06e9f876fe175925960b45e38b9f623fe7a990 100644 (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: