X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FLyXAction.cpp;h=8b13630d8688552b990ad00f5d158f1dc8b2b2c8;hb=5887601f6836ebf6f2b16cc7587a98cc3aa6c391;hp=3cccc3787e1571cdec37751cadbc27d4736909e3;hpb=299242bb16e2fdd026ac975e8ac4d81e8dfef890;p=lyx.git diff --git a/src/LyXAction.cpp b/src/LyXAction.cpp index 3cccc3787e..8b13630d86 100644 --- a/src/LyXAction.cpp +++ b/src/LyXAction.cpp @@ -52,7 +52,7 @@ namespace lyx { * The documentation below primarily describes the purpose and syntax * of the various LFUNs. * - * The list is alphabetized. Try to keep it that way, and don't forget to add + * The list is alphabetized. Try to keep it that way, and don't forget to add * doxygen commentary. This allows the file LFUNs.lyx to be auto-generated. * (If you should want to do that, see the gen_lfuns.py script, which is in * the development/tools/ directory.) @@ -486,6 +486,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 +595,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 */ @@ -632,17 +643,17 @@ void LyXAction::init() * \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 + 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 +714,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 [] [