From: Scott Kostyshak Date: Tue, 29 Mar 2022 01:44:40 +0000 (-0400) Subject: Doc for inset-forall: how to open branch insets X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=77fd682acb34619adad26e9d8e96c886161ce827;p=features.git Doc for inset-forall: how to open branch insets The functionality was mentioned, but it seems worth it to give the command explicitly, so it is seen how "Branch:" is used to refer to the specific branch with name . Additionally, tweak a phrase in doc for buffer-forall. --- diff --git a/src/LyXAction.cpp b/src/LyXAction.cpp index ca8c5b751b..ea60f53754 100644 --- a/src/LyXAction.cpp +++ b/src/LyXAction.cpp @@ -642,7 +642,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 +2179,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