]> git.lyx.org Git - lyx.git/blobdiff - src/lyxfind.h
* src/inset/InsetNomencl.cpp:
[lyx.git] / src / lyxfind.h
index c6885948ac903b920a845e55d245896c60c1a68c..6301ab5b7418340f59eec33e7072b22aa85a412f 100644 (file)
@@ -15,7 +15,7 @@
 #ifndef LYXFIND_H
 #define LYXFIND_H
 
-#include "support/docstring.h"
+#include "support/strfwd.h"
 
 namespace lyx {
 
@@ -45,14 +45,15 @@ docstring const replace2string(docstring const & search,
 /** Parse the string encoding of the find request that is found in
  *  \c ev.argument and act on it.
  * The string is encoded by \c find2string.
+ * \return true if the string was found.
  */
-void find(BufferView * bv, FuncRequest const & ev);
+bool find(BufferView * bv, FuncRequest const & ev);
 
 /** Parse the string encoding of the replace request that is found in
  *  \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);