X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FLyXAction.cpp;h=3e1e023550882fbfc8aa1c1d1b6a4f594439f13c;hb=294e4884ee29585d311177406cd31499e6d81877;hp=77cf3ea4f1cad394deacdbe25d099861bd4a2cfb;hpb=71623b88b2c613dd4ab826a9783a53e840bcd6e1;p=lyx.git diff --git a/src/LyXAction.cpp b/src/LyXAction.cpp index 77cf3ea4f1..3e1e023550 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. @@ -574,7 +585,7 @@ void LyXAction::init() /*! * \var lyx::FuncCode lyx::LFUN_BUFFER_EXPORT * \li Action: Exports the current buffer (document) to the given format. - * \li Syntax: buffer-export [] + * \li Syntax: buffer-export [] [] * \li Params: is either "custom" or one of the formats which you can find in Tools->Preferences->File formats->Format. Usual format you will enter is "pdf2" (pdflatex), @@ -582,10 +593,12 @@ void LyXAction::init() In case of "custom" you will be asked for a format you want to start from and for the command that you want to apply to this format. Internally the control is then passed - to #LFUN_BUFFER_EXPORT_CUSTOM. - 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. + to #LFUN_BUFFER_EXPORT_CUSTOM.\n + If absent or "default", then the default output format of the + 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 */ @@ -630,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 */ @@ -701,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 [] [