On 27-Jul-2001 Dekel Tsur wrote:
> Why the language in insetERT is changed to ignore_language ???
No your're right it should be inherit_language and now it is!
> The correct way for implementing insetERT is to have an InsetEditor and use
Your free to provide one!
> it instead of insetText. Currently, I think that the cleanest solution is to
> set the language inside inserERT to the language of the document.
Well no not really, but yes, inherit_language is exactly that it's the
language of the document!
> Another problem with insetERT is that it generates the following lines in
> the .lyx file:
> \family typewriter
> \color latex
Why is this a problem it should do that!
Anyway now that I cleaned this language stuff a bit, I'm more and more of
the opinion that it is a big hack and we need other hacks to go around some
problems!
Language should NOT be in LyXFont it should be appart and it should be
initialized (constructor) with the document_languange as default language
so that we always know what's the default and don't have to go back to the
bufferparams.
Obviously this is not so easy and as we have it now it's, ..., well, ...,
it's working.
Jürgen
--
-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._
Dr. Jürgen Vigna E-Mail: [EMAIL PROTECTED]
Italienallee 13/N Tel/Fax: +39-0471-450260 / +39-0471-450253
I-39100 Bozen Web: http://www.sad.it/~jug
-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._
The three best things about going to school are June, July, and August.