]> git.lyx.org Git - lyx.git/blobdiff - src/buffer_funcs.h
- Link against qt-mt333.lib which is what the current qt3 cvs produces
[lyx.git] / src / buffer_funcs.h
index 7d741eaf3721fed416ce76c85fe49a4de8281657..db433142ece6cbefb54f2fac51d81f052ef897f4 100644 (file)
@@ -16,8 +16,9 @@
 
 
 class Buffer;
-class TeXErrors;
+class DocIterator;
 class ErrorList;
+class TeXErrors;
 
 /**
  *  Loads a LyX file \c filename into \c Buffer
@@ -38,4 +39,8 @@ void bufferErrors(Buffer const &, TeXErrors const &);
 ///
 void bufferErrors(Buffer const &, ErrorList const &);
 
+/// Count the number of words in the text between these two iterators
+int countWords(DocIterator const & from, DocIterator const & to);
+
+
 #endif // BUFFER_FUNCS_H