Le 10/03/2010 13:33, rgheck a écrit :
On 03/10/2010 03:00 AM, Abdelrazak Younes wrote:
I still think this is a good move because I really don't like to have
to create a new LFUN for each and every inset. Also because when the
use of user defined insets can be generalized then inset-modify could
work straight away.
Except that in the long run we should generalize the notion of type or
subtype for insets in order to be able to manage that in a centralized
way. This would be useful for inset style names too. It would make sense
to me that each inset has a name ("float") and some of them have a type
("figure").
So we should IMHO fix the issue in Cursor::getStatus() rather than go
backward.
If the issue is that InsetTabular thinks it has to have the cursor
inside it to apply the LFUN, can't we change how that works? I.e., can't
we move the cursor in there, or re-write the routine so it doesn't need
to assume that?
Hmm, what is the particular bug we want to fix here?
JMarc