Jean-Marc Lasgouttes wrote: > I do not really see why it would be better than just displaying the > contents (without markers) when the cursor is outside of the inset. I > do not think that we should use preview here.
This only works for very simple character styles. I'm thinking of using character styles for \textipa, for soul's letterspacing commands, for predefined character styles like "scaled and letterspaced all caps" etc. I agree that preview would not make sense for all character styles (and thus should be adjustable in the definiton). > Note that the setting telling how much decoration we want should be a > pref, not something that is set in the .lyx file itself. Agreed for general settings (e.g. "Don't show makers (at all)"). In the patch I have posted to lyx-devel, I'm saving the state of individual insets (just like the collapse status of collapsables is saved). Jürgen