]> git.lyx.org Git - lyx.git/blobdiff - src/LyXAction.cpp
Typo.
[lyx.git] / src / LyXAction.cpp
index 9a23d4cca40f1279cae67ef465b517276adc5e71..278cbc6d10bd9dab56109783085072105fd0e2fd 100644 (file)
@@ -851,13 +851,12 @@ void LyXAction::init()
  * \li Syntax: word-findadv [<DATA>]
  * \li Params: <DATA>: data encoded from FindAdv dialog (see #lyx::findadv2string()).
                        If no parameter is given, search with last find-dialog
-                      data is used for search (i.e. find-next).
- * \li Origin: Andre, Jan 7 2004
+                       data is used for search (i.e. find-next).
+ * \li Origin: Tommaso, Nov 15 2007
  * \endvar
  */
                { LFUN_WORD_FINDADV, "word-findadv", ReadOnly, Edit },
-/*!
- * \var lyx::FuncCode lyx::LFUN_WORD_FORWARD
+/*! \var lyx::FuncCode lyx::LFUN_WORD_FORWARD
  * \li Action: Moves the cursor to the logically next beginning of a word.
  * \li Notion: This is not the action which should be bound to the arrow keys,
                because forward may be left or right, depending on the language.
@@ -962,7 +961,9 @@ void LyXAction::init()
 /*!
  * \var lyx::FuncCode lyx::LFUN_THESAURUS_ENTRY
  * \li Action: Look up thesaurus entries with respect to the word under the cursor.
- * \li Syntax: thesaurus-entry
+ * \li Syntax: thesaurus-entry [<STRING>] [lang=<LANG>]
+ * \li Params: <STRING>: word to look up
+               <LANG>: language (see file languages)
  * \li Origin: Levon, 20 Jul 2001
  * \endvar
  */
@@ -1514,17 +1515,6 @@ void LyXAction::init()
  * \endvar
  */
                { LFUN_MATH_MODE, "math-mode", Noop, Math },
-/*!
- * \var lyx::FuncCode lyx::LFUN_REGEXP_MODE
- * \li Action: Enters regexp mode (i.e. puts regexp insets on the current
-               cursor position).
- * \li Notion: If there is some selected text, it puts the text inside created regexp box.
- * \li Syntax: regexp-mode [<ARG>]
- * \li Params: <ARG>: eventual argument (regular expression).
- * \li Origin: Tommaso, 4 Ott 2008
- * \endvar
- */
-               { LFUN_REGEXP_MODE, "regexp-mode", Noop, Math },
 /*!
  * \var lyx::FuncCode lyx::LFUN_MATH_NUMBER_LINE_TOGGLE
  * \li Action: Toggles numbering of the current formula line.
@@ -3099,6 +3089,15 @@ void LyXAction::init()
  */
                { LFUN_BRANCH_DEACTIVATE, "branch-deactivate", Argument, Buffer },
 
+/*!
+ * \var lyx::FuncCode lyx::LFUN_COPY_LABEL_AS_REF
+ * \li Action: Copies the label at the cursor as a cross-reference to be pasted elsewhere.
+ * \li Syntax: copy-label-as-reference
+ * \li Origin: sts, 16 Nov 2008
+ * \endvar
+ */
+               { LFUN_COPY_LABEL_AS_REF, "copy-label-as-reference", ReadOnly | NoUpdate, Edit },
+
                { LFUN_NOACTION, "", Noop, Hidden }
 #ifndef DOXYGEN_SHOULD_SKIP_THIS
        };