]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetListings.h
This should be the last of the commits refactoring the InsetLayout code.
[lyx.git] / src / insets / InsetListings.h
index 4b0afc53f2931688d4a8910168885ef3ed3e3ecb..3e5fbd54e21b3e7b3503129414575f20378ffa51 100644 (file)
@@ -45,6 +45,8 @@ public:
        ///
        virtual docstring const editMessage() const;
        ///
+       bool isMacroScope(Buffer const &) const { return true; }
+       ///
        int latex(Buffer const &, odocstream &, OutputParams const &) const;
        ///
        void validate(LaTeXFeatures &) const;
@@ -63,8 +65,6 @@ protected:
 private:
        virtual Inset * clone() const;
        ///
-       void init();
-       ///
        void setButtonLabel();
        ///
        docstring getCaption(Buffer const &, OutputParams const &) const;