]> git.lyx.org Git - lyx.git/blobdiff - src/DocIterator.h
Streamlining CollapseStatus stuff
[lyx.git] / src / DocIterator.h
index cf35562cc424d240fc6f7f629e27042875f4af2d..55377754928ee8db9c12889047de225210963f3a 100644 (file)
@@ -178,8 +178,6 @@ public:
        //
        // elementary moving
        //
-       /// move on one logical position, do not descend into nested insets
-       void forwardPosNoDescend();
        /**
         * move on one logical position, descend into nested insets
         * skip collapsed insets if \p ignorecollapsed is true
@@ -227,6 +225,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:
        /**