Lars Gullik Bjønnes wrote: > | I'd much prefer > | virtual bool InsetOld::display() const { return false; } > | and then > | virtual bool InsetXYZ::display() const { return true; } > | only for those insets that do actually want it. > > yes. _OR_ make dispaly a pure virutal function and only define it > for "leaf" classes.
As this was clearly upsetting me, I made the changes. The following classes derive from InsetCommand and the starred ones now have bool display() const { return true; } InsetBibitem InsetBibtex (*) InsetCitation InsetFloatList (*) InsetHFill InsetIndex InsetPrintIndex (*) InsetLabel InsetRef InsetTOC (*) InsetUrl -- Angus