#ifndef LYXFIND_H
#define LYXFIND_H
-#include "support/docstring.h"
+#include "support/strfwd.h"
namespace lyx {
class BufferView;
class FuncRequest;
-class LyXText;
+class Text;
/** Encode the parameters needed to find \c search as a string
* that can be dispatched to the LyX core in a FuncRequest wrapper.
* \c ev.argument and act on it.
* The string is encoded by \c replace2string.
*/
-void replace(BufferView * bv, FuncRequest const &);
+void replace(BufferView * bv, FuncRequest const &, bool has_deleted = false);
/// find the next change in the buffer
bool findNextChange(BufferView * bv);