X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Flyxfind.h;h=9ff26374b4d76ed0428ec0d683b878abf2c1dfc2;hb=52eb91c94fb70d58dceef430659c8781de2eccda;hp=0e4887bf3f6c005d6b36d9b8d367dc86ef5d3841;hpb=6c300f72a217722652dc27db9108e1050028979c;p=lyx.git diff --git a/src/lyxfind.h b/src/lyxfind.h index 0e4887bf3f..9ff26374b4 100644 --- a/src/lyxfind.h +++ b/src/lyxfind.h @@ -15,9 +15,7 @@ #ifndef LYXFIND_H #define LYXFIND_H -#include "support/types.h" - -#include +#include "support/docstring.h" namespace lyx { @@ -28,7 +26,7 @@ class LyXText; /** 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, +docstring const find2string(docstring const & search, bool casesensitive, bool matchword, bool forward); @@ -37,8 +35,8 @@ std::string const find2string(std::string const & search, * as a string that can be dispatched to the LyX core in a FuncRequest * wrapper. */ -std::string const replace2string(std::string const & search, - std::string const & replace, +docstring const replace2string(docstring const & search, + docstring const & replace, bool casesensitive, bool matchword, bool all,