///
docstring name() const { return from_ascii("Listings"); }
// Update the counters of this inset and of its contents
- void updateLabels(ParIterator const &, bool);
+ void updateBuffer(ParIterator const &, UpdateType);
///
void write(std::ostream & os) const;
///
docstring const buttonLabel(BufferView const & bv) const;
///
docstring getCaption(OutputParams const &) const;
+ ///
+ bool insetAllowed(InsetCode c) const { return c == CAPTION_CODE; }
///
InsetListingsParams params_;