]> git.lyx.org Git - lyx.git/blobdiff - src/Cursor.h
Fix crash with undo in nested insets introduced by commit 6ec1683
[lyx.git] / src / Cursor.h
index 318c5d9a6d45e34e5f7a9343abf7ac496973ca9a..31debbf9c48edc17fba7e76b827b095f0ff47a38 100644 (file)
@@ -306,6 +306,9 @@ public:
        /// fix cursor in circumstances that should never happen.
        /// \retval true if a fix occured.
        bool fixIfBroken();
+       /// Repopulate the slices insets from bottom to top. Useful
+       /// for stable iterators or Undo data.
+       void sanitize();
 
        /// output
        friend std::ostream & operator<<(std::ostream & os, Cursor const & cur);