]> git.lyx.org Git - lyx.git/blobdiff - src/lyxfind.h
hopefully fix tex2lyx linking.
[lyx.git] / src / lyxfind.h
index f37642513b1246b92f9938a6b4819ef25188d382..0e4887bf3f6c005d6b36d9b8d367dc86ef5d3841 100644 (file)
 
 #include <string>
 
+namespace lyx {
+
 class BufferView;
 class FuncRequest;
 class LyXText;
 
-namespace lyx {
-namespace find {
-
 /** Encode the parameters needed to find \c search as a string
  *  that can be dispatched to the LyX core in a FuncRequest wrapper.
  */
@@ -49,18 +48,17 @@ std::string const replace2string(std::string const & search,
  *  \c ev.argument and act on it.
  * The string is encoded by \c find2string.
  */
-void find(FuncRequest const & ev);
+void find(BufferView * bv, FuncRequest const & ev);
 
 /** Parse the string encoding of the replace request that is found in
  *  \c ev.argument and act on it.
  * The string is encoded by \c replace2string.
  */
-void replace(FuncRequest const &);
+void replace(BufferView * bv, FuncRequest const &);
 
 /// find the next change in the buffer
 bool findNextChange(BufferView * bv);
 
-} // namespace find
 } // namespace lyx
 
 #endif // LYXFIND_H