Martin Vermeer wrote: > So, if you create an ERT and start typing, OK. But if you then delete > all the text in the ERT, and start typing again, init() will not be > executed again. Anything that in the meantime changes > text_.current_font / text_.real_current_font (these are very ephemeral!) > will lead to the new text getting the wrong language. E.g., creating a > new paragraph will use the buffer language.
Now I see. I was not aware that text_.current_font / text_.real_current_font could change at all. Thanks for the explanation. The "correct fix" is of course to make these data members private and ensure that they can't be changed from outside. Georg
