X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2FLyXAction.cpp;h=a9789ad29037467c94d4ea959fe06c618a77134b;hb=62af7ee772f16f154225d2d0b65d77f4376b6001;hp=2f4fc263c9783148903d1213ac7483c132cb84e3;hpb=a76334c78a5450c740eae2ee49614b024cc94181;p=lyx.git diff --git a/src/LyXAction.cpp b/src/LyXAction.cpp index 2f4fc263c9..a9789ad290 100644 --- a/src/LyXAction.cpp +++ b/src/LyXAction.cpp @@ -332,6 +332,20 @@ void LyXAction::init() { LFUN_BIBTEX_DATABASE_DEL, "bibtex-database-del", Noop, Edit }, +/*! + * \var lyx::FuncCode lyx::LFUN_BIDI + * \li Action: Helper function for bidirectional toolbar icons + * \li Notion: In a text, the function is marked as `unknown' when the + current direction does not correspond to DIRECTION (ltr + or rtl). Otherwise the function behaves exactly as + ACTION. The result is that ACTION will be associated to + a different icon depending on text direction. + * \li Syntax: bidi + * \li Origin: JMarc, 21 July 2019 + * \endvar + */ + { LFUN_BIDI, "bidi", Noop, System }, + /*! * \var lyx::FuncCode lyx::LFUN_BOOKMARK_CLEAR * \li Action: Clears the list of saved bookmarks. @@ -486,6 +500,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. @@ -703,8 +728,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 [] [