]> git.lyx.org Git - lyx.git/blobdiff - src/lyxfind.h
Embedding: saving inzip name to .lyx file so that embedded files can always be found...
[lyx.git] / src / lyxfind.h
index 9ff26374b4d76ed0428ec0d683b878abf2c1dfc2..d23be0fec6627226d0098d11856046734dbd8da5 100644 (file)
 #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.
@@ -52,7 +52,7 @@ void find(BufferView * bv, FuncRequest const & ev);
  *  \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);