private:
///
bool isLabeled() const { return true; }
- ///
- bool noFontChange() const { return true; }
+ /// false is needed since listings do their own font handling.
+ bool inheritFont() const { return false; }
///
InsetCode lyxCode() const { return LISTINGS_CODE; }
/// lstinline is inlined, normal listing is displayed
DisplayType display() const;
///
- docstring name() const { return from_ascii("Listings"); }
+ docstring layoutName() const { return from_ascii("Listings"); }
// Update the counters of this inset and of its contents
void updateBuffer(ParIterator const &, UpdateType);
///
///
InsetListingsParams & params() { return params_; }
///
- docstring contextMenuName() const;
+ std::string contextMenuName() const;
///
void doDispatch(Cursor & cur, FuncRequest & cmd);
///