]> git.lyx.org Git - lyx.git/blobdiff - src/lyxfind.h
That didn't really work. So revert to old CSS for gray notes.
[lyx.git] / src / lyxfind.h
index 9dc17df86b93742399993dda77d9310fb84e0667..f8a77494f05dc608ecd1ca769af763d5325b690c 100644 (file)
@@ -43,8 +43,8 @@ docstring const find2string(docstring const & search,
  *  as a string that can be dispatched to the LyX core in a FuncRequest
  *  wrapper.
  */
-docstring const replace2string(docstring const & search,
-                                docstring const & replace,
+docstring const replace2string(docstring const & replace,
+                                docstring const & search,
                                 bool casesensitive,
                                 bool matchword,
                                 bool all,
@@ -86,7 +86,8 @@ public:
                bool expandmacros,
                bool ignoreformat,
                bool regexp,
-               docstring const & replace
+               docstring const & replace,
+               bool keep_case
        );
        FindAndReplaceOptions() {  }
        docstring search;
@@ -97,6 +98,7 @@ public:
        bool ignoreformat;
        bool regexp;
        docstring replace;
+       bool keep_case;
 };
 
 /// Write a FindAdvOptions instance to a stringstream