X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FLyXAction.cpp;h=639875c86b8bd502c6300882b098de7650948534;hb=390ae05444cf4899a3028dcbbfe1095ecd2d207a;hp=2a6c5981740b3b2831202fd19d8adcadd16a7c8d;hpb=3e9e6e344ace9160f93fd882bf2243d24a069fa5;p=lyx.git diff --git a/src/LyXAction.cpp b/src/LyXAction.cpp index 2a6c598174..639875c86b 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 @@ -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 */ @@ -1574,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. @@ -3254,7 +3268,7 @@ void LyXAction::init() buffer-forall branch-activate Solutions \n Export buffers to PDF (pdflatex): \n buffer-forall buffer-export pdf2 \n - * \li Origin: scottkostyshak, 20 Jul 2012 + * \li Origin: skostysh, 20 Jul 2012 * \endvar */ { LFUN_BUFFER_FORALL, "buffer-forall", ReadOnly | Argument, Buffer }, @@ -3275,6 +3289,14 @@ 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 + * \li Origin: skostysh, 7 Apr 2015 + * \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. @@ -3282,6 +3304,14 @@ 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 + * \li Origin: skostysh, 7 Apr 2015 + * \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,