On Sat, Sep 16, 2006 at 12:06:09AM +0200, [EMAIL PROTECTED] wrote:
> On Fri, 15 Sep 2006, Jean-Marc Lasgouttes wrote:
> 
> > Angus> Why don't you loop over all commands in the sequence and 
> > Angus> establish if any actions are disabled? There are no if-blocks to 
> > Angus> complicate the logic.
> > 
> > Because action 2 may not be possible until action 1 has been done (for 
> > example, action 1 opens a math inset and action 2 is a math-only 
> > operation).
> 
> None of the attribues say if an LFUN only works in math-mode, do they? 
> (That information might be interesting to tabulate for the users though)

I think the function flags are to coarse to be of great utility. Some
polishing is necessary in most cases in getStatus() anyway, so we might
as well do all the work there.

The global function flags are also wrong in concept as this mean the
place where they are defined has to know about the way any inset will
handle it. Not nice encapsulation.

Andre'

Reply via email to