X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FLyXAction.cpp;h=278cbc6d10bd9dab56109783085072105fd0e2fd;hb=74037183fef9e524c26fd6785bd2a391c4dcc271;hp=747431f3dded61e69f26ae0dacbf12c391f0fc3e;hpb=1f145abeb834a92df861237a8b68000283c6af91;p=lyx.git diff --git a/src/LyXAction.cpp b/src/LyXAction.cpp index 747431f3dd..278cbc6d10 100644 --- a/src/LyXAction.cpp +++ b/src/LyXAction.cpp @@ -846,7 +846,17 @@ void LyXAction::init() */ { LFUN_WORD_REPLACE, "word-replace", Noop, Edit }, /*! - * \var lyx::FuncCode lyx::LFUN_WORD_FORWARD + * \var lyx::FuncCode lyx::LFUN_WORD_FINDADV + * \li Action: Search for next occurence of a pattern. + * \li Syntax: word-findadv [] + * \li Params: : 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: Tommaso, Nov 15 2007 + * \endvar + */ + { LFUN_WORD_FINDADV, "word-findadv", ReadOnly, Edit }, +/*! \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. @@ -951,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 [] [lang=] + * \li Params: : word to look up + : language (see file languages) * \li Origin: Levon, 20 Jul 2001 * \endvar */ @@ -3077,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 };