On Thu, Nov 04, 2004 at 12:23:14PM +0100, Juergen Spitzmueller wrote: > Jean-Marc Lasgouttes wrote: > > I am not sure the getStatus code is really right. You should return > > true when you did something (meaning: OK, I know what to do about that > > lfun), and return the result of InsetText::getStatus otherwise. > > > > Actually, you should rather call InsetCollapsable::getStatus, which is > > the same but makes more sense. > > Is the attached better? > > Jürgen > > BTW: I have stolen the old code (in priv_dispatch) from insetert. Should I > implement there a getStatus method, too?
Rule of thumb: Whatever has a dispatch should have a getStatus, handling the same LFUNs as the dispatch() function. Andre'