]> git.lyx.org Git - lyx.git/blobdiff - src/lyxfind.h
Fix natbib bug spotted by JMarc.
[lyx.git] / src / lyxfind.h
index f86b8dec851bc2c29a3823f4aa6d202e38adc0db..7415a466bcdffcdb1163841c749d1e58ad03ff0e 100644 (file)
@@ -7,6 +7,7 @@
 #endif
 
 #include "LString.h"
+#include "support/types.h"
 
 class BufferView;
 class LyXText;
@@ -49,5 +50,13 @@ SearchResult LyXFind(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
-#endif
+#endif // LYXFIND_H