]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetListings.h
Fix wrongly copy-pasted entries in SpellcheckerUi.ui
[lyx.git] / src / insets / InsetListings.h
index 3741f6d0dbd3a1ead79934a9c3b329f7c60ef500..c9d833a4adf061626b5c9ff00cfd129576245e0f 100644 (file)
@@ -40,14 +40,14 @@ public:
 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);
        ///