-int replace(BufferView * bv,
- std::string const &, std::string const &,
- bool, bool = true, bool = false,
- bool = false, bool = false);
+/** Encode the parameters needed to find \c search as a string
+ * that can be dispatched to the LyX core in a FuncRequest wrapper.
+ */
+std::string const find2string(std::string const & search,
+ bool casesensitive,
+ bool matchword,
+ bool forward);