// -*- 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;
int replace(BufferView * bv,
- string const &, string const &,
+ std::string const &, std::string const &,
bool, bool = true, bool = false,
bool = false, bool = false);
* 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);
/**
*/
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