]> git.lyx.org Git - lyx.git/blobdiff - src/DocIterator.h
Remove background_color_ in Insets: it takes a lot of unnecessary memory,
[lyx.git] / src / DocIterator.h
index cf35562cc424d240fc6f7f629e27042875f4af2d..dfef036ae7a01303110d5e433d41db9ff7d97f92 100644 (file)
@@ -227,6 +227,9 @@ public:
        void pop_back() { slices_.pop_back(); }
        /// recompute the inset parts of the cursor from the document data
        void updateInsets(Inset * inset);
+       /// fix DocIterator in circumstances that should never happen.
+       /// \return true if the DocIterator was fixed.
+       bool fixIfBroken();
 
 private:
        /**