]> git.lyx.org Git - features.git/blobdiff - src/insets/InsetScript.h
Use new display() values to remove some inset hardcoding.
[features.git] / src / insets / InsetScript.h
index 11864d305c4a39e01d37939ad7ed6ef8fff83751..0b755aa118e83031a63898ec80ca47afaaffea6b 100644 (file)
@@ -67,8 +67,6 @@ public:
        ///
        docstring layoutName() const;
        ///
-       DisplayType display() const;
-       ///
        void metrics(MetricsInfo &, Dimension &) const;
        ///
        void draw(PainterInfo & pi, int x, int y) const;
@@ -86,6 +84,8 @@ public:
        ///
        bool neverIndent() const { return true; }
        ///
+       bool inheritFont() const { return false; }
+       ///
        int plaintext(odocstringstream & ods, OutputParams const & op,
                      size_t max_length = INT_MAX) const;
        ///