X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FLyXAction.cpp;h=2fa5ccf5f5b369424f766a14a7dcff1a0353d1a2;hb=4db3e641ed6765e005343010cb90ee8af26f8f99;hp=39a5ff74e2b258202443adb6ace1ca6724e09f67;hpb=e2f5b4a5e68b2cdea08d356d6af4fe29a3b5e086;p=lyx.git diff --git a/src/LyXAction.cpp b/src/LyXAction.cpp index 39a5ff74e2..2fa5ccf5f5 100644 --- a/src/LyXAction.cpp +++ b/src/LyXAction.cpp @@ -1045,6 +1045,16 @@ void LyXAction::init() * \endvar */ { LFUN_SPELLING_REMOVE, "spelling-remove", ReadOnly, Edit }, + +/*! + * \var lyx::FuncCode lyx::LFUN_SPELLING_CONTINUOUSLY + * \li Action: Toggle continuous spell checking. + * \li Syntax: spelling-continuously + * \li Origin: vfr, 24 March 2013 + * \endvar + */ + { LFUN_SPELLING_CONTINUOUSLY, "spelling-continuously", ReadOnly, Edit }, + /*! * \var lyx::FuncCode lyx::LFUN_THESAURUS_ENTRY * \li Action: Look up thesaurus entries with respect to the word under the cursor. @@ -1205,7 +1215,7 @@ void LyXAction::init() * \var lyx::FuncCode lyx::LFUN_PASTE * \li Action: Pastes material (text or picture) from the active clipboard. * \li Syntax: paste [|] - * \li Params: : emf|pdf|png|jpeg|linkback|wmf \n + * \li Params: : emf|pdf|png|jpeg|linkback|wmf|latex|html \n : number of the selection in the internal clipboard stack to be pasted. * \endvar */ @@ -2146,6 +2156,34 @@ void LyXAction::init() * \endvar */ { LFUN_VC_REGISTER, "vc-register", ReadOnly, System }, +/*! + * \var lyx::FuncCode lyx::LFUN_VC_RENAME + * \li Action: Renames the document to another name. + * \li Notion: Renaming with revision history is only supported by SVN. + For CVS it is simulated by adding the document under a new + name and deleting the old one. For RCS it is not supported. + Disabled if uncommitted changes exist. + * \li Syntax: vc-rename + * \li Params: : New name of the document.\n + * A file dialog is opened if no filename is given. + * \li Origin: gb, 05 Feb 2013 + * \endvar + */ + { LFUN_VC_RENAME, "vc-rename", ReadOnly, System }, +/*! + * \var lyx::FuncCode lyx::LFUN_VC_COPY + * \li Action: Copies the document to another name. + * \li Notion: Copying with revision history is only supported by SVN. + For RCS and CVS it is simulated by adding the document + under a new name. + Disabled if uncommitted changes exist. + * \li Syntax: vc-copy + * \li Params: : New name of the document.\n + * A file dialog is opened if no filename is given. + * \li Origin: gb, 05 Feb 2013 + * \endvar + */ + { LFUN_VC_COPY, "vc-copy", ReadOnly, System }, /*! * \var lyx::FuncCode lyx::LFUN_VC_CHECK_IN * \li Action: Checks-in/commits the changes of the registered file to the repository. @@ -3692,7 +3730,7 @@ bool LyXAction::funcHasFlag(FuncCode action, if (ici == lyx_info_map.end()) { LYXERR0("action: " << action << " is not known."); - LASSERT(false, /**/); + LASSERT(false, return false); } return ici->second.attrib & flag;