- void findAdv(bool casesensitive,
- bool matchword, bool backwards,
- bool expandmacros, bool ignoreformat);
- void find(docstring const & str, int len, bool casesens,
- bool words, bool backwards, bool expandmacros);
- void find(bool backwards);
-
- void replace(docstring const & findstr,
- docstring const & replacestr,
- bool casesens, bool words, bool backwards, bool expandmacros, bool all);
+
+ /// FIXME Probably to be merged with findAndReplace(bool, bool)
+ void findAndReplace(
+ bool casesensitive, bool matchword, bool backwards,
+ bool expandmacros, bool ignoreformat, bool replace,
+ bool keep_case
+ );
+
+ /// Perform the scope-related buffer switch while searching
+ void findAndReplaceScope(FindAndReplaceOptions & opt);
+
+ /// Collect options from the GUI elements, then perform the search
+ void findAndReplace(bool backwards, bool replace);
+