]> git.lyx.org Git - lyx.git/blobdiff - src/lyxfind.h
Remove unused font variable which caused a warning.
[lyx.git] / src / lyxfind.h
index 59e25534587102e9c36184d93299540c3bb6d61f..4bbae181ac9eeaf9ab13a25b3b34c429ac5058ba 100644 (file)
 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 const &, bool const & = true, bool const & = false,
+               bool const & = false);
 
+bool LyXFind(BufferView *,
+             string const & searchstr, bool const & forward,
+                        bool const & frominset = false,
+             bool const & casesens = true, bool const & matchwrd = false);
 
 #endif