X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fbuffer_funcs.h;h=44ff0a37ed19f14658eebd719ea6d001f8302ab0;hb=cca78e3c8ae27431323746abd64f9d7db017099d;hp=061dc80840cbae2c643405ee2d330908cd2f0499;hpb=acbb1c9b8ca23e5a8141d80bd32491ec6aac008e;p=lyx.git diff --git a/src/buffer_funcs.h b/src/buffer_funcs.h index 061dc80840..44ff0a37ed 100644 --- a/src/buffer_funcs.h +++ b/src/buffer_funcs.h @@ -44,15 +44,15 @@ Buffer * newUnnamedFile(std::string const & templatename, /// Count the number of words in the text between these two iterators int countWords(DocIterator const & from, DocIterator const & to); +/// Count the number of chars in the text between these two iterators +int countChars(DocIterator const & from, DocIterator const & to, bool with_blanks); + /// updates all counters void updateLabels(Buffer const &, bool childonly = false); /// void updateLabels(Buffer const &, ParIterator &); -/// -void checkBufferStructure(Buffer &, ParIterator const &); - } // namespace lyx #endif // BUFFER_FUNCS_H