Abdelrazak Younes schreef:
Hello,

I am a bit puzzled about Cursor::getStatus(). This always apply to the next inset which is not exactly the inset at the cursor. In case of a math inset in a paragraph in a table, cursor will ask the the paragraph what is the inset a the next position... this is all quite weird...

There are LFUNs like LFUN_INSET_MODIFY that have the AtPoint flag. This means that they either operate on the current inset or the next one. Compare with the old LFUN_NEXT_INSET_MODIFY which we removed.

Tabular-feature didn't have this flag, but inset-modify does. That's why we have those new problems with math and tables.

I think it was wrong to use inset-modify as a replacement of tabular-feature. This because it does not change some setting of the inset itself, but settings that are related to cursor positions within this inset.

Does this help you ?

Vincent


Reply via email to