Abdelrazak Younes <[EMAIL PROTECTED]> writes:

>> Abdel, I think the problem is that, when right-clicking on an inset
>> button, I think the cursor should be set to include the isnet as a
>> slice, even when the inset is closed or is not highly editable.
>
> Won't this lead to crash or assertion in DocIterator?

I do not know yet the answer :)

>> Do you know where this should be fixed?
>
> In BufferView::mouseSetCursor() I guess, it is called in Text3.cpp:
> Text::dispatch() when handling LFUN_MOUSE_PRESS call.

I think we should arrange to have the context menu (and only that)
called with cursor set inside the inset. I do not know how to do it.
Really setting the cursor in the isnet would be problematic.

JMarc

Reply via email to