On Sat, 16 Sep 2006, Andre Poenitz wrote:

> On Sat, Sep 16, 2006 at 05:34:37PM +0200, [EMAIL PROTECTED] wrote:
> > The function InsetERT:getStatus() suppress (disable) accents within ERT 
> > insets, which makes sense.
> > 
> > But MathNestInset::doDispatch() contains the equivalent of this:
> > 
> >         case LFUN_ACCENT_ACUTE:
> >                 break;
> > 
> > Does this mean that 'accent-acute' works in math insets or not?
> 
> That's the idiom for silently ignoring things.
> 
> I'd guess saying so in the corresponding getStatus() method
> would be better.

Ok, I understand about it being ignored silently. 

I know 'accent-acute' works LyXText::dispatch() and not in ERT insets. And 
now I know it is ignored in MathNestInset's. But... how do I know if 
'accent-acute' works anywhere else?  The other dispatchers related to math 
insets don't mention it for instance.

If an LFUN isn't mentioned in any of the other dispatch methods, can I 
assume it does not work there?  Or will being handled by the the 
LyXText::dispatch() imply that it works everywhere that it is not 
explicitly ignored or disabled?

/Christian

-- 
Christian Ridderström, +46-8-768 39 44               http://www.md.kth.se/~chr

Reply via email to