X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Flyxfind.h;h=6301ab5b7418340f59eec33e7072b22aa85a412f;hb=fb12b282f1300123c7f4c7f10525c29cb598e1fe;hp=f9b45357e452b3087a684be8faff921da295c6a0;hpb=7067c9113710a8276b19073d81b936cb667c524d;p=lyx.git diff --git a/src/lyxfind.h b/src/lyxfind.h index f9b45357e4..6301ab5b74 100644 --- a/src/lyxfind.h +++ b/src/lyxfind.h @@ -15,7 +15,7 @@ #ifndef LYXFIND_H #define LYXFIND_H -#include "support/docstring.h" +#include "support/strfwd.h" namespace lyx { @@ -45,8 +45,9 @@ docstring const replace2string(docstring const & search, /** Parse the string encoding of the find request that is found in * \c ev.argument and act on it. * The string is encoded by \c find2string. + * \return true if the string was found. */ -void find(BufferView * bv, FuncRequest const & ev); +bool 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.