X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fbuffer_funcs.h;h=97449cc4b170299ecba63d5acb16948115842383;hb=f6f32ca0ee1d341e39f202e2921ccbd4d5537f5b;hp=f7dd645df39db199963da9a090d7d930a78d7547;hpb=9722c8f1ea78056ef811ee812cee726da8a7bdbc;p=lyx.git diff --git a/src/buffer_funcs.h b/src/buffer_funcs.h index f7dd645df3..97449cc4b1 100644 --- a/src/buffer_funcs.h +++ b/src/buffer_funcs.h @@ -47,7 +47,8 @@ Buffer * newUnnamedFile(support::FileName const & path, Buffer * loadIfNeeded(support::FileName const & fname); /// Count the number of words in the text between these two iterators -int countWords(DocIterator const & from, DocIterator const & to); +int countWords(DocIterator const & from, DocIterator const & to, + bool skipNoOutput = true); /// Count the number of chars in the text between these two iterators int countChars(DocIterator const & from, DocIterator const & to, bool with_blanks);