]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetInfo.h
Fixup 572b06d6: reduce cache size for breakString
[lyx.git] / src / insets / InsetInfo.h
index 8f574fc7d6f8685743dc44ae585ef30c77efba23..3531b41681204964af5ea1be556b3e55fc176be1 100644 (file)
@@ -203,6 +203,11 @@ public:
        void setInfo(std::string const & info);
        ///
        void updateBuffer(ParIterator const & it, UpdateType utype, bool const deleted = false) override;
+       ///
+       void metrics(MetricsInfo & mi, Dimension & dim) const override;
+       ///
+       void draw(PainterInfo & pi, int x, int y) const override;
+
        ///
        docstring toolTip(BufferView const & bv, int x, int y) const override;
        ///
@@ -212,6 +217,8 @@ public:
        /// should paragraph indentation be omitted in any case?
        bool neverIndent() const override { return true; }
        ///
+       void validate(LaTeXFeatures & features) const override;
+       ///
        InsetInfoParams params() const { return params_; }
 
 private:
@@ -225,6 +232,8 @@ private:
        void setText(docstring const & str, Language const *);
        // make sure that the other version of setText is still available.
        using InsetCollapsible::setText;
+       /// Compute the information
+       void build();
        ///
        bool initialized_;
        ///