Useful to know how many branch insets are used?

Jean-Marc Lasgouttes lasgouttes at lyx.org
Sat Feb 12 14:50:34 UTC 2022


Le 11/02/2022 à 20:48, Scott Kostyshak via lyx-users a écrit :
> However, I wonder if it would be useful more generally to display in
> Document > Settings > Branches how many times each branch is used (i.e.,
> how many insets of each branch there are). It would be a column, along
> with the current columns "Activated", "Color", and "Filename Suffix".
> For example, one could sort the branches by clicking on the column
> header.
> 
> Would others find this useful? I'm guessing it's just me and maybe one
> or two others, in which case it might be best not to propose this
> feature on lyx-devel and just take the easy approach of writing the
> Python script. Nonetheless I thought I would ask for feedback since
> branches are such a flexible tool I'm not sure how others use them.

While I am not sure I would use it, it is pretty easy to implement in 
the updateBuffer machinery. I can give guidance if needed.

JMarc


More information about the lyx-users mailing list