]> git.lyx.org Git - lyx.git/blobdiff - src/lyxfind.h
Add a Buffer::fully_loaded member function, returning true only when
[lyx.git] / src / lyxfind.h
index 49782c21b7c70893d37d0c59a2aeb438c336d736..488804763862df2f9aa79b13c48ffae121079ae2 100644 (file)
@@ -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 <string>
+
 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