Request for feedback: open/close all insets of a branch ?
Daniel
xracoonx at gmx.de
Tue Apr 5 05:24:44 UTC 2022
On 2022-04-02 16:37, Scott Kostyshak via lyx-users wrote:
> Dear all LyX branch users,
>
> Have you ever wished there were a way to open (or close) all insets of a
> certain branch? We have a pending patch on lyx-devel that would add an
> option to the context-menu when you right-click on the inset of a
> branch. E.g., we could add two entries "Open All" and "Close All".
>
> Would you use this feature? Could you describe a particular use case
> i.e., some context and a reason why you want to open all branch insets
> of a specific branch in that context?
>
> Scott
I not using branches (yet). But, generally, I think for such a feature
to be easily accessible and (mis)clickable, it is a good idea to be able
to undo it because of its rather drastic effect (change of all such
insets). Actually, this can be done currently which is good I think. But
I am slightly worried that it is counter to some of the developers'
opinion (and possibly consensus) on whether opening insets should count
as marking the buffer dirty (i.e. a file unsaved). So, that is something
to consider, I think. However, since this is probably not an action that
is often taken, a warning dialog that tells the user that this action
cannot be undone might make this problem less severe.
Also, addition to (or instead of) a menu, a more general solution might
be an "inset toolbox" (pane/dialog) via which inset types can be
selected from a drop-down and (general) actions (e.g. closing, opening,
replacing with another type, etc.) on these insets executed. Just a
spontaneous idea that I have not further thought through.
Daniel
More information about the lyx-users
mailing list