X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FLyXAction.cpp;h=742c6132063cf9b670248048726416136d0efcd0;hb=4e50da3e655b9f8d26f7d5e439d72b219d32279d;hp=29052d24689223d8f8eb8f83851682d7b54ced8b;hpb=7821cb713375588e3ed65b4e13dd9e8066ab08a8;p=lyx.git diff --git a/src/LyXAction.cpp b/src/LyXAction.cpp index 29052d2468..742c613206 100644 --- a/src/LyXAction.cpp +++ b/src/LyXAction.cpp @@ -452,6 +452,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 +495,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 +604,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 +651,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 +723,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 [] [