X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FLyXAction.cpp;h=f93ea9564df570a0345e73e370888a92f1de1744;hb=20b45cf02895a9ca5a1c831b4d4c0795d91b8d4a;hp=56b810306ee631eebb7129407ca6ed3dc728f01a;hpb=75bfed55079cab6b73fbea6ce4ae3f10d1af3b91;p=lyx.git diff --git a/src/LyXAction.cpp b/src/LyXAction.cpp index 56b810306e..f93ea9564d 100644 --- a/src/LyXAction.cpp +++ b/src/LyXAction.cpp @@ -331,6 +331,16 @@ void LyXAction::init() */ { LFUN_BIBTEX_DATABASE_DEL, "bibtex-database-del", Noop, Edit }, +/*! + * \var lyx::FuncCode lyx::LFUN_BIBTEX_DATABASE_LIST + * \li Action: Lists the available databases (separated by path separator common + * on the used OS). + * \li Notion: Used by bibliographic managers + * \li Syntax: bibtex-database-list + * \li Origin: bpiwowar, 18 December 2022 + * \endvar + */ + { LFUN_BIBTEX_DATABASE_LIST, "bibtex-database-list", ReadOnly, System }, /*! * \var lyx::FuncCode lyx::LFUN_BOOKMARK_CLEAR @@ -452,6 +462,15 @@ void LyXAction::init() */ { LFUN_BRANCH_INSERT, "branch-insert", Noop, Edit }, +/*! + * \var lyx::FuncCode lyx::LFUN_BRANCH_SYNC_ALL + * \li Action: Open/close all insets of selected branch (depending on its activation status). + * \li Syntax: branch-sync-all + * \li Origin: sanda, 15 April 2022 + * \endvar + */ + { LFUN_BRANCH_SYNC_ALL, "branch-sync-all", AtPoint, Buffer }, + /*! * \var lyx::FuncCode lyx::LFUN_BRANCH_INVERT * \li Action: Toggles inversion status of branch inset. @@ -486,6 +505,17 @@ void LyXAction::init() { LFUN_BRANCH_MASTER_DEACTIVATE, "branch-master-deactivate", AtPoint, Buffer }, +/*! + * \var lyx::FuncCode lyx::LFUN_BUFFER_ANONYMIZE + * \li Action: For debug purposes only. Convert all [a-zA-Z0-1] characters to + single character. Useful when submitting docs to list or bugzilla. + * \li Syntax: buffer-anonymize + * \li Origin: sanda, Feb 1 2018 + * \endvar + */ + { LFUN_BUFFER_ANONYMIZE, "buffer-anonymize", Noop, Edit }, + + /*! * \var lyx::FuncCode lyx::LFUN_BUFFER_AUTO_SAVE * \li Action: Saves the current buffer to a temporary file. @@ -584,10 +614,10 @@ void LyXAction::init() apply to this format. Internally the control is then passed to #LFUN_BUFFER_EXPORT_CUSTOM.\n If absent or "default", then the default output format of the - document is used. - If present, this argument provides the export destination - filename. Its containing folder will also be the destination - folder, where all the needed external files will be copied. + document is used.\n + If present, this argument provides the export destination + filename. Its containing folder will also be the destination + folder, where all the needed external files will be copied. * \li Origin: Lgb, 29 Jul 1997 * \endvar */ @@ -631,18 +661,18 @@ void LyXAction::init() visible in any window. * \li Syntax: buffer-forall * \li Params: : The command to be applied to the buffers. - * \li Sample: Close all Notes in buffers: \n - buffer-forall inset-forall Note inset-toggle close \n + * \li Sample: Close all Notes in all buffers: \n + buffer-forall inset-forall Note inset-toggle close \n Toggle change tracking on buffers: \n - buffer-forall changes-track \n + buffer-forall changes-track \n Toggle read-only for buffers: \n - buffer-forall buffer-toggle-read-only \n + buffer-forall buffer-toggle-read-only \n Show statistics for individual buffers: \n - buffer-forall statistics \n + buffer-forall statistics \n Activate the branch named "Solutions" in buffers: \n - buffer-forall branch-activate Solutions \n + buffer-forall branch-activate Solutions \n Export buffers to PDF (pdflatex): \n - buffer-forall buffer-export pdf2 \n + buffer-forall buffer-export pdf2 \n * \li Origin: skostysh, 20 Jul 2012 * \endvar */ @@ -703,8 +733,11 @@ void LyXAction::init() * \li Action: Creates a new buffer (that is, document) from a template. * \li Notion: Path for new files and templates can be set in Preferences dialog. Template will be asked for via Open-dialog. - * \li Syntax: buffer-new-template [] - * \li Params: : filename of created file with absolute path. + * \li Syntax: buffer-new-template [] [