This is arguably a step back on the path to 'multiple BufferView' as now there's just a single 'active' BufferView again (complete rebreak when changing BufferViews), but the current 'solution' contained (among others)
- bool clear = false; - if (!lt) { - lt = getLyXText(bv); - clear = true; - } [interesting code] - if (clear) - lt = 0;
in almost all function which I consider Not Nice and which certainly should not a long term solution to be extended to the rest of LyX.
Could somebody please have a look?
I don't have the time *sight* to test this stuff, but just for the public info the above code is not there because of "multiple BV", the code above is there because LyXScreen resize operations deleted the LyXText instance!
The only stuff there to be there because of "multiple BV" is the vector of LyXText's instead of a single LyXText.
Greets,
J�rgen
-- -._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._ Dr. J�rgen Vigna E-Mail: [EMAIL PROTECTED] Mitterstrich 151/A I-39050 Steinegg Web: http://www.lyx.org/~jug -._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._
