X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FLyXAction.cpp;h=992b47a4412e34367fe921143a6553c97b592a64;hb=c69da75dfca389b219e269f9d5668215f398c24b;hp=ca8c5b751b0ade83d2fe21f74d15db0b57d7674c;hpb=f21899661acfef223611765de33906f92cd72bbd;p=features.git diff --git a/src/LyXAction.cpp b/src/LyXAction.cpp index ca8c5b751b..992b47a441 100644 --- a/src/LyXAction.cpp +++ b/src/LyXAction.cpp @@ -452,6 +452,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. @@ -642,7 +651,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 @@ -2179,8 +2188,10 @@ void LyXAction::init() yellow note insets. * \li Sample: Remove all index insets: \n inset-forall Index char-delete-forward force \n - Close all Notes (also works for a particular branch, for example): \n + Close all Notes: \n inset-forall Note inset-toggle close \n + Open all branch insets of branch "myBranch": \n + inset-forall Branch:myBranch inset-toggle open \n Transform all yellow notes to comments \n inset-forall Note:Note inset-modify note Note Comment \n Try to put LyX in an infinite loop if there is at least a Note: \n @@ -4084,6 +4095,8 @@ void LyXAction::init() menubar : Toggle visibility of the menubar.\n scrollbar : Toggle visibility of the scrollbar.\n frame : Toggle visibility of the frames around editing window.\n + zoomslider : Toggle visibility of the zoom slider in statusbar.\n + zoomlevel : Toggle visibility of the zoom level display in statusbar.\n fullscreen : Toggle fullscreen mode. This also covers calling the previous functions. However #LFUN_TOOLBAR_TOGGLE for the custom tweaks of the toolbars should be used.