]> git.lyx.org Git - features.git/blobdiff - src/LyXAction.cpp
Use localized length strings also in space label/tooltip
[features.git] / src / LyXAction.cpp
index ca8c5b751b0ade83d2fe21f74d15db0b57d7674c..992b47a4412e34367fe921143a6553c97b592a64 100644 (file)
@@ -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 <LFUN-COMMAND>
  * \li Params: <LFUN-COMMAND>: 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.