X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Flyxfind.h;h=488804763862df2f9aa79b13c48ffae121079ae2;hb=78046794ccfce3a20751e00b35295c290853afd6;hp=49782c21b7c70893d37d0c59a2aeb438c336d736;hpb=00e5c3f3a2a76fdb1c2098f1d394b6ef3a96060e;p=lyx.git diff --git a/src/lyxfind.h b/src/lyxfind.h index 49782c21b7..4888047638 100644 --- a/src/lyxfind.h +++ b/src/lyxfind.h @@ -1,10 +1,23 @@ // -*- C++ -*- +/** + * \file lyxfind.h + * This file is part of LyX, the document processor. + * Licence details can be found in the file COPYING. + * + * \author Lars Gullik Bjønnes + * \author John Levon + * \author Jürgen Vigna + * + * Full author contact details are available in file CREDITS. + */ + #ifndef LYXFIND_H #define LYXFIND_H -#include "LString.h" #include "support/types.h" +#include + class BufferView; class LyXText; @@ -22,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); @@ -32,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); /** @@ -44,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