On Fri, Aug 02, 2002 at 10:54:17AM +0100, Angus Leeming wrote: > André, > > if I edit a mathed inset and then leave it, a new preview is not generated > because this is returning false:
How did you leave the inset? > bool InsetFormula::PreviewImpl::previewWanted() const > { > return !parent().par_->asNestInset()->editing(); > } > > ie, the thing thinks its editing still. Have you changed anything recently > that might cause this? Hm... nothing that I can think of. asNestInset()->editing() is true if the mathcursor exists _and_ the cursor path passes through the inset. So I can't imagine how it can think it is editing if you've left the inset. On second thoughts, maybe the math cursor does not get destroyed if the inset is left... Is there some equivalent to the edit() that gets called when an inset is left? Andre' -- Those who desire to give up Freedom in order to gain Security, will not have, nor do they deserve, either one. (T. Jefferson)