Jean-Marc Lasgouttes wrote: > For example we could have a > charstyle-toggle lfun that is like charstyle-insert except that, when > one tries to insert a charstyle in itself, it dissolves instead. I am > not sure it will be enough to make the thing work well, but it is a > major problem with the font change as inset idea.
This is very tricky indeed. What should be possible eventually as well is resetting to "none". For instance, if I have "a longer phrase" attributed to charstyle foo, I should be able to select "longer" and attribute charstyle "none", which would result in "<foo>a</foo> longer <foo>phrase</foo>", i.e., split the charstyle inset. It is all but simple to get this right. Jürgen
