]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetListings.h
Change string
[lyx.git] / src / insets / InsetListings.h
index 85120aeb681c5f64779e7ed0776efb612ed42798..13efb881d15ef15c05816fb578d720601a583615 100644 (file)
@@ -31,6 +31,8 @@ public:
        ///
        ~InsetListings();
        ///
+       bool isLabeled() const { return true; }
+       ///
        InsetCode lyxCode() const { return LISTINGS_CODE; }
        /// lstinline is inlined, normal listing is displayed
        DisplayType display() const;
@@ -45,8 +47,6 @@ public:
        ///
        docstring editMessage() const;
        ///
-       bool isMacroScope() const { return true; }
-       ///
        int latex(odocstream &, OutputParams const &) const;
        ///
        void validate(LaTeXFeatures &) const;