Lars Gullik Bj�nnes wrote: > and then you must cache bv's instead...
Ah... I see your point I think. Your plan is to have a bufferview for say an 'actually visible view'. So you will have simultaneosly the same nr. of bv's as these shown 'views'. These views can be windows splits or stale windows, like emacs 'frames'. > and what happens if you change the width of the view? then the bv not > viewd at the moment must be regenerated... Well that depends how your multiple bv's are represented. If they are on different windows (or subwindows) they don't need to change size simultaneously. > AFAICS you onle cache something different. and I am not usre sure that > you reduce any complexity. I see and agree more or less. > it is not the textcache that creates the complexity. I agree now (that I understand what you were saying ;). Anyway, the original point is still valid. We have to store a bv * in lyxtext and use that instead of passing it around. (the variable is even already there I think). Then when we switch views this stored bv * is updated. Do you agree? Alfredo
