class BufferView;
class LyXText;
-namespace lyxfind {
+namespace lyx {
+namespace find {
enum SearchResult {
//
};
-int LyXReplace(BufferView * bv,
+int replace(BufferView * bv,
string const &, string const &,
bool, bool = true, bool = false,
bool = false, bool = false);
* text from the actual cursor position in whatever direction
* we want to go. This does also update the screen.
*/
-bool LyXFind(BufferView *,
+bool find(BufferView *,
string const & searchstr, bool forward,
bool casesens = true, bool matchwrd = false);
* returning to the calling function.
*/
-SearchResult LyXFind(BufferView *, LyXText * text,
+SearchResult find(BufferView *, LyXText * text,
string const & searchstr, bool forward,
bool casesens = true, bool matchwrd = false);
/// find the next change in the buffer
bool findNextChange(BufferView * bv);
-
+
SearchResult findNextChange(BufferView * bv, LyXText * text, lyx::pos_type & length);
-
+
SearchResult nextChange(BufferView * bv, LyXText * text, lyx::pos_type & length);
-
-} // end namespace LyXFind
-
+
+} // namespace find
+} // namespace lyx
+
#endif // LYXFIND_H