On 05-Dec-2001 John Levon wrote:

> read your own source ! Not only does that already exist, you need to show me
> how that would work given the existing calls to insetAllowed(). Here they are :
> 
> BufferView::Pimpl::insertInset()
> 
>       - uses bv_->theLockingInset() - broken
> 
> lyxfunc.C: line 690 or so
> 
>       - uses bv_->theLockingInset() - broken

Well I don't know what 'broken' means but this HAS to work!

> Paragraph::insertFromMinibuffer
> LyXText::insertInset
> 
>       uses :
> 
> Paragraph::insetAllowed

Ok you got a point here!

I'm actually compiling and I think I got the fix for this one!

> All of these end up calling InsetText::insetAllowed() in these circumstances,
> when it is the owner of the insettext who really wants to have a say.

Only the last one the other ones for InsetERT return just "false"!

          Jug

--
-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._
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
-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._

Murphy's Law, that brash proletarian restatement of Godel's Theorem.
                -- Thomas Pynchon, "Gravity's Rainbow"

Reply via email to