]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetMarginal.h
Make script inset much tighter in texted.
[lyx.git] / src / insets / InsetMarginal.h
index 38e1a9c50a067590c3f53ebfe10c726acb9cda7c..db0f6db0239d15cdf9543f29088a916dc77a1563 100644 (file)
@@ -25,7 +25,7 @@ namespace lyx {
 class InsetMarginal : public InsetFootlike {
 public:
        ///
-       InsetMarginal(Buffer *);
+       explicit InsetMarginal(Buffer *);
        ///
        InsetCode lyxCode() const { return MARGIN_CODE; }
        ///
@@ -35,8 +35,8 @@ public:
                      size_t max_length = INT_MAX) const;
        ///
        int docbook(odocstream &, OutputParams const & runparams) const;
-       ///
-       void addToToc(DocIterator const & di, bool output_active) const;
+       /// Is the content of this inset part of the immediate (visible) text sequence?
+       bool isPartOfTextSequence() const { return false; }
 private:
        ///
        Inset * clone() const { return new InsetMarginal(*this); }