X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Flyxfind.h;h=2e74dc3361a9667c866d389fcac4dba7511e31d4;hb=98c966c64594611e469313314abd1e59524adb4a;hp=59e25534587102e9c36184d93299540c3bb6d61f;hpb=d1182f17daa1a164d9527ccbe6500840d7ac6bc8;p=lyx.git diff --git a/src/lyxfind.h b/src/lyxfind.h index 59e2553458..2e74dc3361 100644 --- a/src/lyxfind.h +++ b/src/lyxfind.h @@ -12,22 +12,12 @@ class BufferView; int LyXReplace(BufferView * bv, string const &, string const &, - bool const &, bool const &, bool const &, bool const & = false); - -bool LyXFind(BufferView * bv, string const &, bool const &, bool const &, - bool const &); - -/// returns true if the specified string is at the specified position -bool IsStringInText(Paragraph * par, Paragraph::size_type pos, - string const & str, bool const & = true, - bool const & = false); - -/// if the string is found: return true and set the cursor to the new position -bool SearchForward(BufferView *, string const & str, bool const & = true, - bool const & = false); -/// -bool SearchBackward(BufferView *, string const & str, bool const & = true, - bool const & = false); + bool, bool = true, bool = false, + bool = false, bool = false); +bool LyXFind(BufferView *, + string const & searchstr, bool forward, + bool frominset = false, bool casesens = true, + bool matchwrd = false); #endif