X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Flyxfind.h;h=488804763862df2f9aa79b13c48ffae121079ae2;hb=78046794ccfce3a20751e00b35295c290853afd6;hp=1bf5fcbd9601082ae5c5b78b69ac0648ca0bd614;hpb=236ea81bc5c0ce7101c9460d1ee97b8f3c9be9df;p=lyx.git diff --git a/src/lyxfind.h b/src/lyxfind.h index 1bf5fcbd96..4888047638 100644 --- a/src/lyxfind.h +++ b/src/lyxfind.h @@ -14,9 +14,10 @@ #ifndef LYXFIND_H #define LYXFIND_H -#include "support/std_string.h" #include "support/types.h" +#include + class BufferView; class LyXText; @@ -34,7 +35,7 @@ enum SearchResult { int replace(BufferView * bv, - string const &, string const &, + std::string const &, std::string const &, bool, bool = true, bool = false, bool = false, bool = false); @@ -44,7 +45,7 @@ int replace(BufferView * bv, * we want to go. This does also update the screen. */ bool find(BufferView *, - string const & searchstr, bool forward, + std::string const & searchstr, bool forward, bool casesens = true, bool matchwrd = false); /** @@ -56,7 +57,7 @@ bool find(BufferView *, */ SearchResult find(BufferView *, LyXText * text, - string const & searchstr, bool forward, + std::string const & searchstr, bool forward, bool casesens = true, bool matchwrd = false); /// find the next change in the buffer