]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetScript.h
Do not output deleted rows columns if show changes in output is false
[lyx.git] / src / insets / InsetScript.h
index 3107b6255dd24c28a837bd42dc5f7d463f875204..1aee8e8dd00852085b125e70cd4bc8c27c744d8d 100644 (file)
@@ -86,7 +86,7 @@ public:
        ///
        bool neverIndent() const { return true; }
        ///
-       bool inheritFont() const { return false; }
+       bool inheritFont() const { return true; }
        ///
        int plaintext(odocstringstream & ods, OutputParams const & op,
                      size_t max_length = INT_MAX) const;
@@ -129,6 +129,8 @@ private:
        friend class InsetScriptParams;
        ///
        InsetScriptParams params_;
+       /// The font of containing inset; this is necessary to compute shift
+       mutable FontInfo outer_font_;
 };