26 int LyXReplace(BufferView * bv,
27 string const &, string const &,
28 bool, bool = true, bool = false,
29 bool = false, bool = false);
32 * This function is called as a general interface to find some
33 * text from the actual cursor position in whatever direction
34 * we want to go. This does also update the screen.
36 bool LyXFind(BufferView *,
37 string const & searchstr, bool forward,
38 bool casesens = true, bool matchwrd = false);
41 * This function does search from the cursor position inside the
42 * passed LyXText parameter and regards this LyXText as the root
43 * LyXText. It will NOT update any screen stuff. It will however
44 * set the cursor to the new position inside LyXText, before
45 * returning to the calling function.
48 SearchResult LyXFind(BufferView *, LyXText * text,
49 string const & searchstr, bool forward,
50 bool casesens = true, bool matchwrd = false);
52 } // end namespace LyXFind