Opening activated branch insets

Jean-Marc Lasgouttes lasgouttes at lyx.org
Thu Apr 14 22:01:04 UTC 2022


Le 13/04/2022 à 14:39, Pavel Sanda a écrit :
> So changing the core of the patch to something like
> 
> + case LFUN_BRANCH_SYNC_ALL:
> +         lyx::dispatch(FuncRequest(LFUN_INSET_FORALL, "Branch:" + params_.branch + " inset-toggle auto"));
> +         break;
> 
> would be acceptable for you?

Sure, once the "auto" thing is implemented :)

I still have reservations about defining lfuns that are just command 
sequences, but I think we need to replace the "call" lfun (that nobody 
uses I suspect) with a real way to define lfuns in text files.

JMarc



More information about the lyx-devel mailing list