X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FLyXAction.cpp;h=f93ea9564df570a0345e73e370888a92f1de1744;hb=dfc3db773ac79e33b828b2d2b4a008c8a37cd4e9;hp=410d0f6ae55b38fbe1bad170abea505dc66cabb2;hpb=c0f4eb058047d665bcf2d3b697f11da2ecd30b3a;p=lyx.git diff --git a/src/LyXAction.cpp b/src/LyXAction.cpp index 410d0f6ae5..f93ea9564d 100644 --- a/src/LyXAction.cpp +++ b/src/LyXAction.cpp @@ -331,20 +331,16 @@ 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 + * \var lyx::FuncCode lyx::LFUN_BIBTEX_DATABASE_LIST + * \li Action: Lists the available databases (separated by path separator common + * on the used OS). + * \li Notion: Used by bibliographic managers + * \li Syntax: bibtex-database-list + * \li Origin: bpiwowar, 18 December 2022 * \endvar */ - { LFUN_BIDI, "bidi", Noop, System }, + { LFUN_BIBTEX_DATABASE_LIST, "bibtex-database-list", ReadOnly, System }, /*! * \var lyx::FuncCode lyx::LFUN_BOOKMARK_CLEAR @@ -466,6 +462,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. @@ -656,7 +661,7 @@ 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 + * \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 @@ -730,7 +735,7 @@ void LyXAction::init() Template will be asked for via Open-dialog. * \li Syntax: buffer-new-template [] [