]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetScript.h
Allow row-breaking after some insets
[lyx.git] / src / insets / InsetScript.h
index 1aee8e8dd00852085b125e70cd4bc8c27c744d8d..7f9cd852786cbf6d836e6d02286ff4e2402f9619 100644 (file)
@@ -66,8 +66,16 @@ public:
        InsetCode lyxCode() const { return SCRIPT_CODE; }
        ///
        docstring layoutName() const;
+
+       ///
+       int topOffset(BufferView const *) const { return 0; }
+       ///
+       int bottomOffset(BufferView const *) const { return 0; }
        ///
-       DisplayType display() const;
+       int leftOffset(BufferView const *) const { return 0; }
+       ///
+       int rightOffset(BufferView const *) const { return 0; }
+
        ///
        void metrics(MetricsInfo &, Dimension &) const;
        ///