]> git.lyx.org Git - lyx.git/blobdiff - src/insets/insettext.h
* src/LyXAction.C: mark goto-clear-bookmark as working without buffer
[lyx.git] / src / insets / insettext.h
index 1baf6fc9fbd19c35710754a87124aa64adf36eda..a2dd9f98a993545f27db2a944adb93e8df52160f 100644 (file)
@@ -50,7 +50,7 @@ public:
        ///
        void write(Buffer const & buf, std::ostream & os) const;
        ///
-       void metrics(MetricsInfo & mi, Dimension & dim) const;
+       bool metrics(MetricsInfo & mi, Dimension & dim) const;
        ///
        void draw(PainterInfo & pi, int x, int y) const;
        /// draw inset selection
@@ -133,7 +133,9 @@ public:
        ///
        InsetText(InsetText const &);
        ///
-       bool & Wide() const { return wide_inset_; }
+       bool wide() const { return wide_inset_; }
+       ///
+       void setWide(bool wide_inset) { wide_inset_ = wide_inset; }
 
 protected:
        ///
@@ -156,7 +158,7 @@ private:
        ///
        static int border_;
        ///
-       mutable bool wide_inset_;
+       bool wide_inset_;
 public:
        ///
        mutable LyXText text_;