On Mon, Oct 15, 2007 at 02:45:19PM +0200, Jean-Marc Lasgouttes wrote: > Martin Vermeer <[EMAIL PROTECTED]> writes: > > > Not good enough. OptItem was there in the version Bo complained > > about. Wat we would need is two different things: 1) > > disable/enable based on whether we are > > inside a charstyle inset; and 2) appear/not appear based on > > whether this textclass/doc has charstyles defined for it or > > not. > > > > I have now committed a version with "Item", as I expect we > > will not have any textclasses without charstyles. As you will > > remember, in my near-term proposal for charstyles at least Noun > > should become an inset-type charstyle. So the above requirement > > 2) is no longer needed then. > > I am not sure I understand why we want a second dissolve menu entry > specially for charstyle insets. Isn't it going to be even more > confusing?
If you say so... but people wanted this in order to keep together with the menu entries for applying a charstyle, because it wasn't obvious that Dissolve Inset was the way to get rid of a charstyle. The idea was then to move them to a combobox like the paragraph layouts, and "Dissolve CharStyle" or "CharStyle. None" or whatever would then be in somewhat the same role as Standard (I think the metaphor limps, but anyway.) Note that the implementation is generic, i.e., we can have "Dissolve Custom Inset", "Dissolve Element" too if we want. - Martin