On 23-Jul-2001 Jean-Marc Lasgouttes wrote:
> Another questions: in BufferView_pimpl.C, for example, there are
> places using text, and others using getLyXText(). Am I right assuming
> that the first version is almost always wrong (i.e. will not work in a
> text inset)?
Yes and no. the bv->text version is there where we "should" need only the
outermost LyXText. This means the function should not be dependant of
theLockingInset()! Maybe I missed some spots where I didn't understand
really what the function does. So it does not mean "will not work in a
text inset", but "should not consider theLockingInset()".
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
-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._
Good advice is one of those insults that ought to be forgiven.