On 20-Feb-2002 Angus Leeming wrote:

> So how should I proceed. Somehow I need to tell the underlying bufferview 
> that the inset has changed. That is, I'll have to call
>       BufferView::updateInset(Inset *, false)
> 
> The question is how?

I would say as proove of concept you can use current_view (VERY EVIL ;) and
see if it works the way you expect it if you HAVE the BufferView pointer
actually. We still have to remove the current_view pointers completely from
the source but IMO we can only do it if we somewhere have a list which tells
us the BufferViews for a certain buffer and IMO this could be inside buffer.h
vector<BufferView *> bufferviews. Then if you have to update a certain thing
you can iterate over the vector and update it on all BufferViews! But we
still have to decide about that. As I told you for now and for you to be
sure it will work try current_view for now.

         Jug

P.S.: I should have sent this privately as I will get hit on my head (virtually)
      for proposing it, but well I like the danger #:O)
--
-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._
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
-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._

History is curious stuff
        You'd think by now we had enough
Yet the fact remains I fear
        They make more of it every year.

Reply via email to