X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FLyXAction.cpp;h=a9789ad29037467c94d4ea959fe06c618a77134b;hb=62af7ee772f16f154225d2d0b65d77f4376b6001;hp=4f424883f7a7e207932cbbe015bd0f05f842654e;hpb=e9b187af084c5cf2df2f6ced9e0202e79d81e077;p=lyx.git diff --git a/src/LyXAction.cpp b/src/LyXAction.cpp index 4f424883f7..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. @@ -714,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 [] [