On Sun, Apr 03, 2022 at 09:29:16PM +0200, Jean-Marc Lasgouttes wrote:
> >I am not sure. Certainly not in the exact form above.
> >1) I need only to affect branches with certain name, not all.
> 
> If it is _a_ certain name, one can put it instead of the *.
> We could allow for globbing (easier to understand then regex IMO) if we have
> support for that in Qt or std::regex.
> 
> >2) I want to be able to toggle them when they are inactive.
> 
> You would need two commands, maybe in sequence. Or we could add the argument
> "auto" to inset-toggle that would close insets that do not produce output
> and open those which produce output (which is the intent as  I understand
> it).

Well both my points are done in the patch I sent earlier.
The branch name is taken from the inset you clicked on and toggling is done
no matter whether the branch is active or inactive...

Pavel
-- 
lyx-devel mailing list
lyx-devel@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-devel

Reply via email to