]> git.lyx.org Git - features.git/blobdiff - src/insets/insetcollapsable.C
the spellcheck cleanup
[features.git] / src / insets / insetcollapsable.C
index e3a889d80fc81a6f18247cbe0b989341d46d2e73..fa467dfeb48ea1f5974cb26f5ee4ee5391d97ab2 100644 (file)
@@ -527,42 +527,6 @@ void InsetCollapsable::markErased()
 }
 
 
-bool InsetCollapsable::nextChange(BufferView * bv, lyx::pos_type & length)
-{
-       bool found = inset.nextChange(bv, length);
-
-       if (first_after_edit && !found)
-               close(bv);
-       else if (!found)
-               first_after_edit = false;
-       return found;
-}
-
-
-bool InsetCollapsable::searchForward(BufferView * bv, string const & str,
-                                    bool cs, bool mw)
-{
-       bool found = inset.searchForward(bv, str, cs, mw);
-       if (first_after_edit && !found)
-               close(bv);
-       else if (!found)
-               first_after_edit = false;
-       return found;
-}
-
-
-bool InsetCollapsable::searchBackward(BufferView * bv, string const & str,
-                                     bool cs, bool mw)
-{
-       bool found = inset.searchBackward(bv, str, cs, mw);
-       if (first_after_edit && !found)
-               close(bv);
-       else if (!found)
-               first_after_edit = false;
-       return found;
-}
-
-
 void InsetCollapsable::addPreview(PreviewLoader & loader) const
 {
        inset.addPreview(loader);