On Sat, Jan 12, 2008 at 02:31:05PM +0100, Pavel Sanda wrote:
> > > +int countChars(DocIterator const & from, DocIterator const & to, bool
> > > with_blanks)
> > > +{
> > > + int chars = 0;
> > > + int blanks = 0;
> > > + for (DocIterator dit = from ; dit != to ; dit.forwardPos()) {
> > > +
> > +int countChars(DocIterator const & from, DocIterator const & to, bool
> > with_blanks)
> > +{
> > + int chars = 0;
> > + int blanks = 0;
> > + for (DocIterator dit = from ; dit != to ; dit.forwardPos()) {
> > + if (dit.inTexted()
> > + && dit.pos() != dit.lastpos
On Fri, Jan 11, 2008 at 12:39:56AM +0100, Pavel Sanda wrote:
> +int countChars(DocIterator const & from, DocIterator const & to, bool
> with_blanks)
> +{
> + int chars = 0;
> + int blanks = 0;
> + for (DocIterator dit = from ; dit != to ; dit.forwardPos()) {
> + if (dit.inT
> Pavel Sanda wrote:
> > i made a minimalistic backport upon the user request.
>
> Fine with me. Please add the bug number to the status.15x entry, though.
character counting is now in branch too.
pavel
Pavel Sanda wrote:
> i made a minimalistic backport upon the user request.
Fine with me. Please add the bug number to the status.15x entry, though.
Jürgen
> Log:
> Add characters counting.
i made a minimalistic backport upon the user request.
Juergen?
Index: src/buffer_funcs.h
===
--- src/buffer_funcs.h (revision 22485)
+++ src/buffer_funcs.h (working copy)
@@ -56,6 +56,9 @@
/// Co