Re: [Cvslog] r22433 - in /lyx-devel/trunk: lib/ui/classic.ui lib/ui/st...

2008-01-12 Thread Andre Poenitz
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()) { > > > +

Re: [Cvslog] r22433 - in /lyx-devel/trunk: lib/ui/classic.ui lib/ui/st...

2008-01-12 Thread Pavel Sanda
> > +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

Re: [Cvslog] r22433 - in /lyx-devel/trunk: lib/ui/classic.ui lib/ui/st...

2008-01-12 Thread Andre Poenitz
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

Re: [Cvslog] r22433 - in /lyx-devel/trunk: lib/ui/classic.ui lib/ui/st...

2008-01-11 Thread Pavel Sanda
> 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

Re: [Cvslog] r22433 - in /lyx-devel/trunk: lib/ui/classic.ui lib/ui/st...

2008-01-10 Thread Jürgen Spitzmüller
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

Re: [Cvslog] r22433 - in /lyx-devel/trunk: lib/ui/classic.ui lib/ui/st...

2008-01-10 Thread Pavel Sanda
> 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