On Sun, Aug 11, 2002 at 10:23:09PM +0200, Lars Gullik Bjønnes wrote: > I think we should first of all have a discussion on how to implement > character styles as cleanly as possible.
Discussion opened? Ok: Character styles should be done by using something similar to MathFontInsets. Advantages: * trivially to implement as almost everything is already there (mainly GUI is missing) * small code (currently about 150 lines in math_fontinset.C and math_factory.C, not much more to be done). * allow proper nesting * consistency with mathed * slightly different UI (it is clear whether cursor is inset or outside) Known disadvantages: * Line breaking in the parent paragraph. * slightly different UI (extra cursor left/right to enter inset) Andre' -- Those who desire to give up Freedom in order to gain Security, will not have, nor do they deserve, either one. (T. Jefferson)