]> 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 04a242f235ac92dca90e7adb78bb0d2be6a5b377..488804763862df2f9aa79b13c48ffae121079ae2 100644 (file)
 #ifndef LYXFIND_H
 #define LYXFIND_H
 
-#include "LString.h"
 #include "support/types.h"
 
+#include <string>
+
 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