-enum SearchResult {
- //
- SR_NOT_FOUND = 0,
- //
- SR_FOUND,
- //
- SR_FOUND_NOUPDATE
-};
-
-
-int replace(BufferView * bv,
- string const &, 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);