X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FLyXAction.cpp;h=10d43f5ffbf682a41df5732a66390cede4b41dde;hb=3bb588f4aaa810fa9cf00a93cf1bd6015cc4d8cf;hp=0efbb3c8e1eb9c5380aaa793dd9eb983cf51c65f;hpb=11e679f73ecca718c61307973c3d67739354e1c7;p=lyx.git diff --git a/src/LyXAction.cpp b/src/LyXAction.cpp index 0efbb3c8e1..10d43f5ffb 100644 --- a/src/LyXAction.cpp +++ b/src/LyXAction.cpp @@ -418,7 +418,7 @@ void LyXAction::init() package: name of latex package (e.g. listings) \n textclass: name of textclass (e.g. article) \n menu: name of lfun used in menu \n - icon: icon of lfun used in toolbar \n + icon: icon of lfun used in toolbar or direct icon name\n buffer: "name"|"path"|"class"|"vcs-tree-revision"| "vcs-revision"|"vcs-author"|"vcs-date"|"vcs-time" * \li Sample: command-sequence info-insert buffer path; info-insert buffer name @@ -499,7 +499,7 @@ void LyXAction::init() * \li Action: Inserts various characters into the document. * \li Syntax: specialchar-insert * \li Params: : hyphenation, ligature-break, slash, nobreakdash, dots, - end-of-sentence, menu-separator. + end-of-sentence, menu-separator, lyx, tex, latex, latex2e. * \li Origin: JSpitzm, 6 Dec 2007 * \endvar */ @@ -1025,6 +1025,7 @@ void LyXAction::init() * \var lyx::FuncCode lyx::LFUN_SPELLING_ADD * \li Action: Add the word under the cursor to the respective * spell checker dictionary. + * The default for the language is retrieved from the cursor position. * \li Syntax: spelling-add [] [] * \li Params: : word to add : language name (see file languages) @@ -1036,6 +1037,7 @@ void LyXAction::init() * \var lyx::FuncCode lyx::LFUN_SPELLING_IGNORE * \li Action: Let the spell checker ignore the word under the cursor * in the current session for the given language. + * The default for the language is retrieved from the cursor position. * \li Syntax: spelling-ignore [] [] * \li Params: : word to ignore : language name (see file languages) @@ -1047,9 +1049,10 @@ void LyXAction::init() * \var lyx::FuncCode lyx::LFUN_SPELLING_REMOVE * \li Action: Remove the word under the cursor from the respective * spell checker dictionary. + * The default for the language is retrieved from the cursor position. * \li Syntax: spelling-remove [] [] * \li Params: : word to remove - : language name (see file languages) + * : language name (see file languages) * \li Origin: SWitt, 28 July 2010 * \endvar */ @@ -1150,16 +1153,19 @@ void LyXAction::init() /*! * \var lyx::FuncCode lyx::LFUN_INSET_SELECT_ALL - * \li Action: Selects all contents of an inset. + * \li Action: Select all contents of an inset. + * \li Notion: There are 3 successive levels: select current cell, + * select all cells of inset, select the inset from outside + * (in the enclosing inset). * \li Syntax: inset-select-all - * \li Origin: vfr, 22 Aug 2009 + * \li Origin: vfr, 22 Aug 2009; lasgouttes 1 Nov 2014 * \endvar */ { LFUN_INSET_SELECT_ALL, "inset-select-all", ReadOnly, Edit }, /*! * \var lyx::FuncCode lyx::LFUN_SECTION_SELECT - * \li Action: Selects the whole section. + * \li Action: Select the whole section. * \li Notion: The cursor should be in a section heading before calling this lfun. * \li Syntax: section-select @@ -1571,6 +1577,17 @@ void LyXAction::init() * \endvar */ { LFUN_LAYOUT_RELOAD, "layout-reload", NoInternal, Layout }, +/*! + * \var lyx::FuncCode lyx::LFUN_BUFFER_VIEW_CACHE + * \li Action: Opens the file that was created from last preview of this buffer. + * \li Notion: This LFUN is called by the "Show Output Anyway" button in the LaTeX + * Errors dialog. It can also be called by the user, which is useful + * if the document takes a long time to compile, and you just + * want to see the last previewed version. + * \li Syntax: buffer-view-cache + * \endvar + */ + { LFUN_BUFFER_VIEW_CACHE, "buffer-view-cache", ReadOnly, Buffer }, /*! * \var lyx::FuncCode lyx::LFUN_TEXTCLASS_APPLY * \li Action: Sets the text class for the current buffer. @@ -3272,6 +3289,13 @@ void LyXAction::init() * \endvar */ { LFUN_BUFFER_NEXT, "buffer-next", ReadOnly, Buffer }, +/*! + * \var lyx::FuncCode lyx::LFUN_BUFFER_MOVE_NEXT + * \li Action: Moves the current tab one spot to the right. + * \li Syntax: buffer-move-next + * \endvar + */ + { LFUN_BUFFER_MOVE_NEXT, "buffer-move-next", ReadOnly, Buffer }, /*! * \var lyx::FuncCode lyx::LFUN_BUFFER_PREVIOUS * \li Action: Switch to the previous opened document. @@ -3279,6 +3303,13 @@ void LyXAction::init() * \endvar */ { LFUN_BUFFER_PREVIOUS, "buffer-previous", ReadOnly, Buffer }, +/*! + * \var lyx::FuncCode lyx::LFUN_BUFFER_MOVE_PREVIOUS + * \li Action: Moves the current tab one spot to the left. + * \li Syntax: buffer-move-previous + * \endvar + */ + { LFUN_BUFFER_MOVE_PREVIOUS, "buffer-move-previous", ReadOnly, Buffer }, /*! * \var lyx::FuncCode lyx::LFUN_MASTER_BUFFER_UPDATE * \li Action: Update (export) the document built from the master buffer,