Juergen Spitzmueller wrote:

> Jean-Marc Lasgouttes wrote:
>> I am not sure the getStatus code is really right. You should return
>> true when you did something (meaning: OK, I know what to do about
>> that lfun), and return the result of InsetText::getStatus
>> otherwise.
>>
>> Actually, you should rather call InsetCollapsable::getStatus, which
>> is the same but makes more sense.
> 
> Is the attached better?
> 
> Jürgen
> 
> BTW: I have stolen the old code (in priv_dispatch) from insetert.
> Should I implement there a getStatus method, too?

What's a 'curosor'? ;-)

>  +// a  visual  clue  when  the  curosor  is inside  the inset
> +        LCursor  &  cur  =  pi.base.bv->cursor();


-- 
Angus

Reply via email to